Input Group
Displays an input with addons.
On this page
Usage
Examples
Domain Tooltip
Chat Composer
Handle Verification
Installation
Set up your license key before connecting the private registry.
Connect this project to https://docs.interfacesds.com using the full URL shown below, including {name}. In components.json, add the registries field at the top level. If the field already exists, add only the @interfaces-ds entry inside it. Keep your existing aliases and other registries.
For a global stylesheet in app/ or src/app/.
JSON{ "registries": { "@interfaces-ds": { "url": "https://docs.interfacesds.com/r/{name}.json", "headers": { "Authorization": "Bearer ${INTERFACES_DS_LICENSE_KEY}" } } } }Install the component.
Terminalnpx shadcn@latest add @interfaces-ds/input-group
API reference
Import these exports from @/components/ui/input-group. The tables cover component-specific props and common controls.
InputGroup
InputGroupAddon
| Prop | Type | Default |
|---|---|---|
align | null | "inline-start" | "inline-end" | "block-start" | "block-end" | "inline-start" |
InputGroupButton
| Prop | Type | Default |
|---|---|---|
asChild | boolean | — |
disabled | boolean | — |
name | string | — |
size | null | "sm" | "icon-sm" | "xs" | "icon-xs" | "xs" |
type | "button" | "submit" | "reset" | "button" |
value | string | number | readonly string[] | — |
InputGroupText
InputGroupInput
| Prop | Type | Default |
|---|---|---|
checked | boolean | — |
disabled | boolean | — |
label | string | — |
max | string | number | — |
min | string | number | — |
multiple | boolean | — |
name | string | — |
placeholder | string | — |
readOnly | boolean | — |
required | boolean | — |
step | string | number | — |
value | string | number | readonly string[] | — |
InputGroupTextarea
| Prop | Type | Default |
|---|---|---|
disabled | boolean | — |
name | string | — |
placeholder | string | — |
readOnly | boolean | — |
required | boolean | — |
value | string | number | readonly string[] | — |