InputGroupWithButtons() — ui Function Reference
Architecture documentation for the InputGroupWithButtons() function in input-group-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b9ab9573_3a11_a605_ded6_4edb34138678["InputGroupWithButtons()"] d4b03b04_037e_50ca_dc94_f27472485362["input-group-example.tsx"] b9ab9573_3a11_a605_ded6_4edb34138678 -->|defined in| d4b03b04_037e_50ca_dc94_f27472485362 style b9ab9573_3a11_a605_ded6_4edb34138678 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/input-group-example.tsx lines 295–357
function InputGroupWithButtons() {
return (
<Example title="With Buttons">
<FieldGroup>
<Field>
<FieldLabel htmlFor="input-button-13">Button</FieldLabel>
<InputGroup>
<InputGroupInput id="input-button-13" />
<InputGroupAddon>
<InputGroupButton>Default</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-14" />
<InputGroupAddon>
<InputGroupButton variant="outline">Outline</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-15" />
<InputGroupAddon>
<InputGroupButton variant="secondary">Secondary</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-16" />
<InputGroupAddon align="inline-end">
<InputGroupButton variant="secondary">Button</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-17" />
<InputGroupAddon align="inline-end">
<InputGroupButton size="icon-xs">
<IconPlaceholder
lucide="CopyIcon"
tabler="IconCopy"
hugeicons="CopyIcon"
phosphor="CopyIcon"
remixicon="RiFileCopyLine"
/>
</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-18" />
<InputGroupAddon align="inline-end">
<InputGroupButton variant="secondary" size="icon-xs">
<IconPlaceholder
lucide="TrashIcon"
tabler="IconTrash"
hugeicons="DeleteIcon"
phosphor="TrashIcon"
remixicon="RiDeleteBinLine"
/>
</InputGroupButton>
</InputGroupAddon>
</InputGroup>
</Field>
</FieldGroup>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does InputGroupWithButtons() do?
InputGroupWithButtons() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/input-group-example.tsx.
Where is InputGroupWithButtons() defined?
InputGroupWithButtons() is defined in apps/v4/registry/bases/radix/examples/input-group-example.tsx at line 295.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free