Interactive Playground
Experiment with size, disabled, and error states across a group wrapping an icon prepend, an input, and a button append.
Geometry
Small (sm)
States
Live Source Code
Text & Icon Addons
Use the prepend slot for static visual context. Place your <InputText> in the default slot.
TEU
Template
Button Integration
Use the append slot to inject your custom Button. The wrapper automatically strips the button's border radius for a flush fit.
Template
Sizes
Pass the size prop (xs, sm, md, lg) to both the InputGroup and the InputText to maintain perfect internal scaling.
https://
https://
https://
https://
https://
Template
Validation & States
Synchronize the disabled and error props across both the wrapper and the input to trigger exact border-color and opacity changes.
Template