edbnedbn/ui
ComponentsMapsPDF
GitHub stars
Explorer
Get Started
Components

Form

Accessible form wrapper with Base UI validation integration.

Componentsdocsbase-ui/form

Installation

npx shadcn@latest add https://ui.edbn.me/api/analytics/registry/form.json

Manual

API Reference

Root

A native form with consolidated error handling. Renders a form element.

errorsRecord<string, string[]>

Form errors object

validationMode'onSubmit' | 'onChange' | 'onBlur'
='onSubmit'

When to validate

onFormSubmitfunction

Called with form values

classNamestring | function

CSS class name

renderReactElement | function

Custom render function