Dev Design Library

React Hook Form

Dialog form with RHF, Zod resolver, and FieldError on invalid fields.

React Hook Form 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/dialog-19
Files
  • registry/patterns/dialog/dialog-19.tsx
  • src/components/ui/button.tsx
  • src/components/ui/dialog.tsx
  • src/components/ui/field.tsx
  • src/components/ui/input.tsx
  • src/components/ui/select.tsx
  • src/lib/utils.ts
  • src/components/ui/label.tsx
Source
https://github.com/felipemenezes098/ui-flx

Categories

More from FLX UI