InputGroup.
Compose prefix and suffix elements around one input.
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
children | ReactNode | Yes | — | — | Input or another field. |
leading | ReactNode | No | — | — | Optional prefix icon/text. |
trailing | ReactNode | No | — | — | Optional suffix icon/text. |
className | string | No | — | — | Additional CSS class on the outer component element. |