Dev Design Library

With clear button

Clear button appears in the trailing addon when the field has text.

With clear button preview
Library
FLX UI
Framework
React
Type
block
License
AGPL-3.0
Dependencies
lucide-react
Install
pnpm dlx shadcn@latest add @flx/input-07
Files
  • registry/patterns/input/input-07.tsx
  • src/components/ui/input-group.tsx
  • src/lib/utils.ts
  • src/components/ui/button.tsx
  • src/components/ui/input.tsx
  • src/components/ui/textarea.tsx
Source
https://github.com/felipemenezes098/ui-flx

Categories

More from FLX UI