With clear button
- from @flx
Clear button appears in the trailing addon when the field has text.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @flx/input-07Registry dependencies2
- input-group
- button
