F
formdef
/
components
Files
Code
Info
Array frame
array-frame
A formdef structure slot that frames every array: its items, a remove button beside each, an add button and the errors about the whole list.
Checkbox field
checkbox-field
A formdef widget for a boolean, built on shadcn's Field and Checkbox, with its label beside the box.
Checkbox group field
checkbox-group-field
A formdef widget for several choices among options, built on shadcn's FieldSet and Checkbox; values the options do not carry stay in the form.
Combobox field
combobox-field
A formdef widget for one choice among many options, built on shadcn's Field and Combobox, filtered by what is typed.
Date field
date-field
A formdef widget for an ISO date string, built on shadcn's Calendar in a Popover; the day stays the day in every time zone.
Date range field
date-range-field
A formdef widget for a range of ISO date strings, built on shadcn's Calendar in a Popover.
Date and time field
date-time-field
A formdef widget for a local ISO date-time string, built on shadcn's Calendar in a Popover and a time input.
Heading
A formdef form component that titles the fields after it, as an h3 by default; the heading block kind of the catalog renders with it.
Multi combobox field
multi-combobox-field
A formdef widget for several choices among many options, built on shadcn's Field and Combobox chips, filtered by what is typed.
Notice
A formdef form component that shows a note between fields, with an optional title, built on shadcn's Alert; the notice block kind of the catalog renders with it.
Number field
number-field
A formdef widget for optional number values, built on shadcn's Field and Input; an empty input is undefined.
Password field
password-field
A formdef widget for passwords, built on shadcn's Field and InputGroup, with a button that shows and hides the value.
Radio field
radio-field
A formdef widget for one choice among options, built on shadcn's FieldSet and RadioGroup, as a list or as cards.
Row
A formdef structure slot that places its fields side by side once its own container has room.
Section
A formdef structure slot that renders a titled group as a fieldset, with an optional description.
Select field
select-field
A formdef widget for one choice among options, built on shadcn's Field and Select; a value the options do not carry stays in the form.
Stepper
A formdef structure slot that frames a form of steps in one of four variants: circles, a rail, segments or a compact bar, with the current step under its heading and the buttons back and next.
Submit button
submit-button
A formdef form component that submits the form, is never disabled for an invalid form, and shows a spinner once a submit takes noticeably long.
Switch field
switch-field
A formdef widget for a boolean, built on shadcn's Field and Switch, as a split row, a list row or a card.
Tags field
tags-field
A formdef widget for a list of free-text tags with optional suggestions, built on shadcn's Field and Combobox chips.
Text field
text-field
A formdef widget for string values, built on shadcn's Field and Input, with optional addons in an input group.
Textarea field
textarea-field
A formdef widget for longer string values, built on shadcn's Field and Textarea, with optional addons in an input group.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information
Array frame
array-frame
A formdef structure slot that frames every array: its items, a remove button beside each, an add button and the errors about the whole list.
Checkbox field
checkbox-field
A formdef widget for a boolean, built on shadcn's Field and Checkbox, with its label beside the box.
Checkbox group field
checkbox-group-field
A formdef widget for several choices among options, built on shadcn's FieldSet and Checkbox; values the options do not carry stay in the form.
Combobox field
combobox-field
A formdef widget for one choice among many options, built on shadcn's Field and Combobox, filtered by what is typed.
Date field
date-field
A formdef widget for an ISO date string, built on shadcn's Calendar in a Popover; the day stays the day in every time zone.
Date range field
date-range-field
A formdef widget for a range of ISO date strings, built on shadcn's Calendar in a Popover.
Date and time field
date-time-field
A formdef widget for a local ISO date-time string, built on shadcn's Calendar in a Popover and a time input.
Heading
A formdef form component that titles the fields after it, as an h3 by default; the heading block kind of the catalog renders with it.
Multi combobox field
multi-combobox-field
A formdef widget for several choices among many options, built on shadcn's Field and Combobox chips, filtered by what is typed.
Notice
A formdef form component that shows a note between fields, with an optional title, built on shadcn's Alert; the notice block kind of the catalog renders with it.
Number field
number-field
A formdef widget for optional number values, built on shadcn's Field and Input; an empty input is undefined.
Password field
password-field
A formdef widget for passwords, built on shadcn's Field and InputGroup, with a button that shows and hides the value.
Radio field
radio-field
A formdef widget for one choice among options, built on shadcn's FieldSet and RadioGroup, as a list or as cards.
Row
A formdef structure slot that places its fields side by side once its own container has room.
Section
A formdef structure slot that renders a titled group as a fieldset, with an optional description.
Select field
select-field
A formdef widget for one choice among options, built on shadcn's Field and Select; a value the options do not carry stays in the form.
Stepper
A formdef structure slot that frames a form of steps in one of four variants: circles, a rail, segments or a compact bar, with the current step under its heading and the buttons back and next.
Submit button
submit-button
A formdef form component that submits the form, is never disabled for an invalid form, and shows a spinner once a submit takes noticeably long.
Switch field
switch-field
A formdef widget for a boolean, built on shadcn's Field and Switch, as a split row, a list row or a card.
Tags field
tags-field
A formdef widget for a list of free-text tags with optional suggestions, built on shadcn's Field and Combobox chips.
Text field
text-field
A formdef widget for string values, built on shadcn's Field and Input, with optional addons in an input group.
Textarea field
textarea-field
A formdef widget for longer string values, built on shadcn's Field and Textarea, with optional addons in an input group.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information