Specialized controls for numeric ranges and date selection.
slider
Numeric range selection.
{
key: 'volume',
type: 'slider',
label: 'Volume',
value: 50,
minValue: 0, // optional
maxValue: 100, // optional
step: 5, // optional
}Core Properties (all optional):
minValue: Minimum slider valuemaxValue: Maximum slider valuestep: Step increment value
Adapter Props
| Prop | Type | Description |
|---|---|---|
color | 'primary' | 'accent' | 'warn' | Material theme color |
thumbLabel | boolean | Show value label on thumb |
tickInterval | number | string | Interval between tick marks |
hint | string | Helper text below the field |
Example
datepicker
Date selection control.
{
key: 'birthDate',
type: 'datepicker',
label: 'Birth Date',
value: null,
required: true,
minDate: new Date(1900, 0, 1), // optional
maxDate: new Date(), // optional
placeholder: 'Select your birth date',
}Core Properties (all optional):
minDate: Minimum selectable date —Date | string | nullmaxDate: Maximum selectable date —Date | string | nullstartAt: Initial calendar view date —Date | null
Core Props:
placeholder: Placeholder textformat: Date format string (UI-integration specific)
Adapter Props
| Prop | Type | Description |
|---|---|---|
appearance | 'fill' | 'outline' | Material form field appearance |
color | 'primary' | 'accent' | 'warn' | Material theme color |
startView | 'month' | 'year' | 'multi-year' | Initial calendar view |
touchUi | boolean | Use touch-friendly popup UI |
hint | string | Helper text below the field |
floatLabel | 'auto' | 'always' | 'never' | Label float behavior |
hideRequiredMarker | boolean | Hide the required asterisk |