Dev Design Library

React Hook Form + Zod

Controller binds Select to RHF; Zod resolver drives FieldError on submit.

React Hook Form + Zod preview
Library
FLX UI
Framework
React
Type
block
License
AGPL-3.0
Dependencies
@hookform/resolvers, react-hook-form, sonner, zod
Install
pnpm dlx shadcn@latest add @flx/select-12
Files
  • registry/patterns/select/select-12.tsx
  • src/components/ui/button.tsx
  • src/components/ui/field.tsx
  • src/components/ui/select.tsx
  • src/lib/utils.ts
  • src/components/ui/label.tsx
  • src/components/ui/separator.tsx
Source
https://github.com/felipemenezes098/ui-flx

Categories

More from FLX UI