Displays an input field with additional elements such as icons, buttons, or text.
Loading...
Installation
Install the following dependencies:
Copy and paste the following code into your project.
Loading...
Update the import paths to match your project setup.
Composition
InputGroup ├── InputGroupAddon (optional) │ ├── InputGroupText │ └── InputGroupButton (optional) └── InputGroupInput | InputGroupTextarea
Examples
Alignment
Loading...
Button
Loading...
Character Count
Loading...
Default
Loading...
Disabled
Loading...
Dividers
Loading...
Dropdown
Loading...
Icon
Loading...
Loading
Loading...
Sizes
Loading...
Text
Loading...
API Reference
InputGroup
| Prop | Type | Default |
|---|---|---|
align | "inline-start" | "inline-end" | "block-start" | "block-end" | "inline-start" |
size | "xs" | "sm" | "icon-xs" | "icon-sm" | "text" | "xs" |
Angular
React
Solid
Svelte
Vue