- Components
- Forms
Input Group
One pill around an input with addons. Focus moves the border and page fill to the whole group.
Installation#
npx shadcn add @ortaui/input-groupExamples#
Addons#
Inset label#
Textarea#
0 / 280
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| surface | "default" | "raised" | auto | Look on a panel. Unset: raised (page fill + border) inside any [data-surface] container. "raised" forces it anywhere; "default" keeps the muted fill even inside a surface. |
| align | "inline-start" | "inline-end" | "block-start" | "block-end" | "inline-start" | On InputGroupAddon. |
| size | "xs" | "sm" | "icon-xs" | "icon-sm" | "xs" | On InputGroupButton. |