Forms
Input group
Composes inputs and textareas with contextual prefixes, suffixes, and actions.
idle
Usage
Anatomy
The parts and how they nest, taken from the preview above.
Examples
Public profile
Prefixes and suffixes stay attached to their field.
Workspace search
Team feedback
Control sizes
Permissions and validation
Recommendations
| Guidance | Practice |
|---|---|
| Do | Use prefixes and suffixes for units or context. Give embedded action buttons accessible names. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Keep the field label outside the input group. Decorative content must not replace the control's accessible name. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | — | Inner addons, text, input, or textarea controls. |
| | — | Ref forwarded to the root group element. |
| | "inline-start" | Positions InputGroupAddon around the control. Use block alignments with textarea. |
| | — | Inherit their control props, including size, value, disabled, validation, and native attributes. |