ButtonGroupWithSelect() — ui Function Reference
Architecture documentation for the ButtonGroupWithSelect() function in button-group-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 76f3e3da_3f4f_f01e_e6a6_44258d112255["ButtonGroupWithSelect()"] 2a9b7ea2_138d_8063_c68e_fb0dd1342c8c["button-group-example.tsx"] 76f3e3da_3f4f_f01e_e6a6_44258d112255 -->|defined in| 2a9b7ea2_138d_8063_c68e_fb0dd1342c8c style 76f3e3da_3f4f_f01e_e6a6_44258d112255 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/button-group-example.tsx lines 242–276
function ButtonGroupWithSelect() {
const [currency, setCurrency] = useState("$")
return (
<Example title="With Select">
<Field>
<Label htmlFor="amount">Amount</Label>
<ButtonGroup>
<Select value={currency} onValueChange={setCurrency}>
<SelectTrigger>
<SelectValue />
</SelectTrigger>
<SelectContent align="start">
<SelectGroup>
<SelectItem value="$">$</SelectItem>
<SelectItem value="€">€</SelectItem>
<SelectItem value="£">£</SelectItem>
</SelectGroup>
</SelectContent>
</Select>
<Input placeholder="Enter amount to send" />
<Button variant="outline">
<IconPlaceholder
lucide="ArrowRightIcon"
tabler="IconArrowRight"
hugeicons="ArrowRight01Icon"
phosphor="ArrowRightIcon"
remixicon="RiArrowRightLine"
/>
</Button>
</ButtonGroup>
</Field>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ButtonGroupWithSelect() do?
ButtonGroupWithSelect() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/button-group-example.tsx.
Where is ButtonGroupWithSelect() defined?
ButtonGroupWithSelect() is defined in apps/v4/registry/bases/radix/examples/button-group-example.tsx at line 242.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free