Components
Components
InputGroup
Text field with prefix and suffix affixes inside shared input chrome.
newfree
Install
@hewnui/ui · hewnui
Compose units, schemes, or icons beside an input without leaving the shared
field surface. Concise prefix / suffix props cover most cases; compound
parts support custom layouts.
https://.studio
Public marketing hostname.$USD
Usage
Compound API
Variants
outline (default), filled, flushed, and glass.
States
- Description helper text
- Invalid +
errorMessage - Disabled
Accessibility
- Affixes are presentational; the input keeps the accessible name
- Focus ring applies to the shared group surface
API reference
Props for InputGroup from @hewnui/ui/input-group. Generated from component types — not hand-written.
Prop
Type