Input group
Use an input group to add a prefix or suffix that clarifies units, symbols, or the information a text field expects.
Examples
Breakpoints
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024pxinput-group-demo.tsx
Component API
Use InputGroup around a form control with optional leading or trailing content.
InputGroup<div>
Arranges the control and adjacent content.
| Prop | Type | Description |
|---|---|---|
startElement | ReactNode | Adds content before the control. |
endElement | ReactNode | Adds content after the control. |