Form & Field
stable llms.txtComposable form components with validation, schema support, and field-level state management.
Installation
bash
ts
Preset Configuration
Customize the appearance using presets
Examples
Explore different variations and use cases
Basic Form
Simple form with labeled fields.
Form with Validation Errors
Field with inline error messages.
API Reference
Accessibility
- Proper semantic form and input elements
- Label association with for/id attributes
- Keyboard navigation and focus management
- Built-in validation with aria-invalid
- Screen reader compatible error messages
- Support for required and optional fields