Advanced Input Components¶
More specialized form controls. All accept the base props in addition to those listed.
Prop tables are auto-generated by
npm run gen:docsfrom the zod schemas.
toggle¶
On/off switch with an optional label.
| Prop | Type | Description |
|---|---|---|
label |
string | Label text |
on |
boolean | Whether the switch is on |
slider¶
Range slider showing a value between min and max.
| Prop | Type | Description |
|---|---|---|
value |
number | Current value |
min |
number | Minimum (default 0) |
max |
number | Maximum (default 100) |
date-picker¶
Date input with a placeholder and optional initial value.
| Prop | Type | Description |
|---|---|---|
value |
string | Preset date (free-form string — not parsed) |
placeholder |
string | Shown when empty |
file-upload¶
File picker area with a label.
| Prop | Type | Description |
|---|---|---|
label |
string | Text shown inside the dropzone |
search¶
Search input with a placeholder and optional seed value. Visually distinct from input (usually shows a search icon).
| Prop | Type | Description |
|---|---|---|
value |
string | Pre-filled query |
placeholder |
string | Shown when empty |