Input group
A text box with icons, buttons or text attached inside its edges.
A text box with icons, buttons or text attached inside its edges.
It uses Button, Input, Textarea, Dropdown menu, Separator and Tooltip, which the command adds for you.
npx shadcn@latest add input-group
npm install @tabler/icons-react class-variance-authority lucide-react
First time with shadcn/ui? Set it up once.
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.