Input Group
Display additional information or actions to an input or textarea.
Usage
import { Input } from "@smartacteam/ambient-web/input";
import { InputGroup } from "@smartacteam/ambient-web/input-group";
import { IconMagnifyingGlass } from "@smartacteam/ambient-web/icons/icon-magnifying-glass";<InputGroup.Root>
<InputGroup.Input render={<Input.Text placeholder="Search..." />} />
<InputGroup.Addon>
<IconMagnifyingGlass />
</InputGroup.Addon>
<InputGroup.Addon align="inline-end">
<InputGroup.Button>Search</InputGroup.Button>
</InputGroup.Addon>
</InputGroup.Root>Examples
Sizes
Set size on InputGroup.Root, not on the control inside it — the root owns
the group's frame and height. The scale matches Input and Select.
Size-varying states
A spacing override applies to every state, including the one you were not looking at. See Styling.