Input Group
A composable wrapper that fuses prefix/suffix addons to an Input into one bordered field.
Import
tsx
import { InputGroup, InputGroupAddon } from "@cooud-ui/ui";
bash
npx cooud-ui add input-group
Examples
API Reference
Generated from the component's exported types.
InputGroupProps
Extends HTMLAttributes<HTMLDivElement>
No own props — see the extended type above for available props.
InputGroupAddonProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
align | "start" | "end" | "start" | Which side the addon flanks. Affects the divider edge. Defaults to "start". |