
formdef
registry.directory/maurice-rm/formdef
Form widgets for TanStack Form on Base UI, wired for labels, descriptions and accessible errors, and rendered from a typed config the compiler checks.
npx shadcn@latest add @formdef/text-field
# works for any of the 24 items in this registry
Featured
text-field
A formdef widget for string values, built on shadcn's Field and Input, with optional addons in an input group.
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.
date-range-field
A formdef widget for a range of ISO date strings, built on shadcn's Calendar in a Popover.
tags-field
A formdef widget for a list of free-text tags with optional suggestions, built on shadcn's Field and Combobox chips.
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.
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.