Elements

Components

Form

The form element itself: native submit interception handing the event to the engine, one grid, one spacing voice.

#Basic usage

form/basic Vue React
One line, no period

form/custom-validation Vue React
One line, no period

form/inputs Vue React
A few sentences

#Props

#Form

The form element itself: native submit interception handing the event to the engine, one grid, one spacing voice.

PropTypeDefaultDescription
formObject as PropType<AnyFormApi>undefinedThe engine instance from useForm — values, validation and submit all live there. Optional: a form assembled without an engine (the generative vessel) degrades to layout and native semantics.

#FormField

The named slot in the grid: label, control, hint — and the engine's errors for this name, shown through the same parts the standalone Field family styles. The default slot receives the engine's live field (value, handleChange, handleBlur, full state), so every capability it has is right there where the control is wired.

PropTypeDefaultDescription
formObject as PropType<AnyFormApi>undefinedOverrides the enclosing Form's engine — for a field assembled on its own.
nameStringThe engine's key for this slot's value and errors.
labelStringundefinedThe heading above the control.
hintStringundefinedThe quiet line under the control, shown while there is no error.
requiredBooleanfalseMarks the label with the required ornament.
invalidBooleanfalseForces the invalid dress, outside any engine's verdict.
disabledBooleanfalseMutes the slot.