Dev Design Library

With label

Switch paired with an accessible field label.

With label preview
Library
FLX UI
Framework
React
Type
block
License
AGPL-3.0
Install
pnpm dlx shadcn@latest add @flx/switch-02
Files
  • registry/patterns/switch/switch-02.tsx
  • src/components/ui/field.tsx
  • src/components/ui/switch.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