alepha@docs:~/docs/packages/alepha/react$
cat form.md | pretty1 min read
Last commit:
#Alepha - React Form
#Installation
Part of the alepha package. Import from alepha/react/form.
npm install alepha
#Overview
Type-safe forms with validation.
Features:
- Form state management
- TypeBox schema validation
- Field-level error handling
- Submit handling with loading state
- Form reset
#API Reference
#React Hooks
useFieldValue— Hook to subscribe to a single form field's value.useForm— Custom hook to create a form with validation and field management.useFormValues— Hook to subscribe to all form values.