InputGroupWithAddons() — ui Function Reference
Architecture documentation for the InputGroupWithAddons() function in input-group-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 120ba495_71a1_6d8e_83a1_37e699d75b16["InputGroupWithAddons()"] d4b03b04_037e_50ca_dc94_f27472485362["input-group-example.tsx"] 120ba495_71a1_6d8e_83a1_37e699d75b16 -->|defined in| d4b03b04_037e_50ca_dc94_f27472485362 style 120ba495_71a1_6d8e_83a1_37e699d75b16 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/input-group-example.tsx lines 119–293
function InputGroupWithAddons() {
return (
<Example title="With Addons">
<FieldGroup>
<Field>
<FieldLabel htmlFor="input-icon-left-05">
Addon (inline-start)
</FieldLabel>
<InputGroup>
<InputGroupInput id="input-icon-left-05" />
<InputGroupAddon>
<IconPlaceholder
lucide="SearchIcon"
tabler="IconSearch"
hugeicons="SearchIcon"
phosphor="MagnifyingGlassIcon"
remixicon="RiSearchLine"
className="text-muted-foreground"
/>
</InputGroupAddon>
</InputGroup>
</Field>
<Field>
<FieldLabel htmlFor="input-icon-right-07">
Addon (inline-end)
</FieldLabel>
<InputGroup>
<InputGroupInput id="input-icon-right-07" />
<InputGroupAddon align="inline-end">
<IconPlaceholder
lucide="EyeOffIcon"
tabler="IconEyeClosed"
hugeicons="ViewOffIcon"
phosphor="EyeSlashIcon"
remixicon="RiEyeOffLine"
/>
</InputGroupAddon>
</InputGroup>
</Field>
<Field>
<FieldLabel htmlFor="input-icon-both-09">
Addon (inline-start and inline-end)
</FieldLabel>
<InputGroup>
<InputGroupInput id="input-icon-both-09" />
<InputGroupAddon>
<IconPlaceholder
lucide="MicIcon"
tabler="IconMicrophone"
hugeicons="VoiceIcon"
phosphor="MicrophoneIcon"
remixicon="RiMicLine"
className="text-muted-foreground"
/>
</InputGroupAddon>
<InputGroupAddon align="inline-end">
<IconPlaceholder
lucide="RadioIcon"
tabler="IconPlayerRecordFilled"
hugeicons="RecordIcon"
phosphor="RecordIcon"
remixicon="RiRecordCircleLine"
className="animate-pulse text-red-500"
/>
</InputGroupAddon>
</InputGroup>
</Field>
<Field>
<FieldLabel htmlFor="input-addon-20">Addon (block-start)</FieldLabel>
<InputGroup className="h-auto">
<InputGroupInput id="input-addon-20" />
<InputGroupAddon align="block-start">
<InputGroupText>First Name</InputGroupText>
<IconPlaceholder
lucide="InfoIcon"
tabler="IconInfoCircle"
hugeicons="AlertCircleIcon"
phosphor="InfoIcon"
remixicon="RiInformationLine"
className="text-muted-foreground ml-auto"
/>
Domain
Subdomains
Source
Frequently Asked Questions
What does InputGroupWithAddons() do?
InputGroupWithAddons() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/input-group-example.tsx.
Where is InputGroupWithAddons() defined?
InputGroupWithAddons() is defined in apps/v4/registry/bases/radix/examples/input-group-example.tsx at line 119.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free