Dev Design Library

Toggle Group

Single-select toggle group bound via Controller with Zod validation.

Toggle Group 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/rhf-fields-06
Files
  • registry/forms/react-hook-form/fields/rhf-fields-06.tsx
  • src/components/ui/button.tsx
  • src/components/ui/field.tsx
  • src/components/ui/toggle-group.tsx
  • src/lib/utils.ts
  • src/components/ui/toggle.tsx
  • src/components/ui/label.tsx
  • src/components/ui/separator.tsx
Source
https://github.com/felipemenezes098/ui-flx

Categories

More from FLX UI