Input Group
shadcn/uiGroup input elements with addons, icons, and text for enhanced form controls.
Input Group
Installation
Props
<InputGroup />
Name | Type | |
|---|---|---|
variant | "link" | "outline" | "default" |
<InputGroupAddon />
Name | Type | |
|---|---|---|
align | "inline-end" | "inline-start" | "block-start" | "block-end"(default: inline-start) |
<InputGroupButton />
Name | Type | |
|---|---|---|
variant | NonNullable<"link" | "outline" | "default"(default: ghost) | |
render | React.ReactElement | |
nativeButton | boolean | |
animation | "none" | "all" | "colors" | "only-scale" | |
focusableWhenDisabled | boolean |
<InputGroupInput />
Name | Type | |
|---|---|---|
render | React.ReactElement | |
onValueChange | (...args) => void | |
variant | "link" | "outline" | "default" |
<InputGroupTextarea />
Name | Type | |
|---|---|---|
variant | "link" | "outline" | "default" |