Skip to content
syntaqx

Components · Forms

Input Group

shadcn's InputGroup with the Input's sizes: icons, text and buttons inside one border.

https://

Installation

npx shadcn@latest add https://www.syntaqx.com/r/input-group.json

Changes from shadcn

It installs over shadcn's Input Group and keeps its API, variants and data-slots, so code written for it keeps working. On top of that:

  • The Input's sizes on the group.
  • Clicking an addon focuses whichever control the group holds, a textarea included.