Widget Reference
Table of contents
Introduction
Installation and setup
1
2
3
4
Core concepts
Widget configuration
useBaseWidget hook
Widget registry
Basic usage
Rendering a single widget
Using sections and panels
Widget configuration
Basic configuration properties
Example: complete text input configuration
Data binding
Single path binding
Multi-path binding
Accessing data
Getting other field values
Validation
Built-in validation rules
Predefined validation types
Zod schema validation
Manual validation
Conditional logic
Single rule
Multiple actions
Operators
Data sources
Static
API
Dependent API (dependsOn)
Schema reference
Geo hierarchy data source
Formatting
Date / datetime
Number
Text
Phone
Boolean
Widget cascade
Section modes
Mode
Behavior
Widget reference
Default widget catalog (22)
Input widgets
Text Input Widget (text)
Text Area Widget (textarea)
Number Input Widget (number)
Phone Input Widget (phone)
Date Input Widget (date)
DateTime Input Widget (datetime)
File Input Widget (file)
Selection widgets
Select Widget (select)
Multi Select Widget (multi-select)
Radio Widget (radio)
Checkbox Widget (checkbox)
Boolean Widget (boolean)
Geo and documents
Geo Hierarchy Widget (geo-hierarchy)
Docs Widget (docs)
Display and identity widgets
Display Widget (display)
Profile Widget (profile)
Header Section Widget (header-section)
Scores Display Widget (scores-display)
Domain widgets
ID Authentication Widget (id-authentication)
Register Lookup Widget (register-lookup)
Table widgets
Table Widget (table)
Dialog Table Widget (dialog-table)
Widget configuration summary
Creating custom widgets
1
2
3
Advanced patterns
Intake form with form handle
Dynamic form generation
Section-level change tracking
Section builder
Internationalization
Pass t to WidgetProvider
Translate schemas programmatically
Theming
Best practices
Widget IDs
Data paths
Validation
Conditional logic
Data sources
Performance
Type safety
Troubleshooting
Widget not rendering
Validation not working
API data source not loading
Conditional logic not working
Geo hierarchy empty
TypeScript errors
Conclusion
Last updated
Was this helpful?