Installation
- CLI
- Manual
Usage
Examples
Icon
Input group with icon addon.Text
Display additional text information alongside inputs.Button
Add buttons to perform actions within the input group.Tooltip
Add tooltips to provide additional context or help.Textarea
Input groups also work with textarea components. Useblock-start or block-end for alignment.
Spinner
Show loading indicators while processing input.Label
Add labels within input groups to improve accessibility.Dropdown
Pair input groups with dropdown menus for complex interactions.Button Group
Wrap input groups with button groups to create prefixes and suffixes.Custom Input
Add thedata-slot="input-group-control" attribute to your custom input for automatic behavior and focus state handling.
No style is applied to the custom input. Apply your own styles using the class prop.