Search documentation

Search the documentation and open a page.

Composes accessible labels, controls, descriptions, and validation messages for form fields.

Loading...

Installation

pnpm dlx shadcn@latest add @wirekyt/field

Composition

FieldSet (optional) ├── FieldLegend └── FieldGroup └── Field ├── FieldLabel │ └── FieldRequiredIndicator (optional) ├── form control ├── FieldDescription (optional) └── FieldError (optional)

Examples

Choice Cards

Loading...

Default

Loading...

Disabled

Loading...

Fieldset

Loading...

Orientation

Loading...

Validation

Loading...

API Reference

All visual parts accept className and the native attributes for the element they render. Parts backed by WireKyt primitives also accept their primitive props and forward refs.

Field

PropTypeDefault
orientation"vertical" | "horizontal" | "responsive""vertical"