Dev Design Library

Invalid / required

Checkbox with an inline error message that appears when the form is submitted without checking it.

Invalid / required preview
Library
FLX UI
Framework
React
Type
block
License
AGPL-3.0
Dependencies
sonner
Install
pnpm dlx shadcn@latest add @flx/checkbox-11
Files
  • registry/patterns/checkbox/checkbox-11.tsx
  • src/components/ui/button.tsx
  • src/components/ui/checkbox.tsx
  • src/components/ui/field.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