ButtonGroupWithText() — ui Function Reference
Architecture documentation for the ButtonGroupWithText() function in button-group-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD aeb8e13f_6013_9070_eede_3ffebb7bbd6b["ButtonGroupWithText()"] 2a9b7ea2_138d_8063_c68e_fb0dd1342c8c["button-group-example.tsx"] aeb8e13f_6013_9070_eede_3ffebb7bbd6b -->|defined in| 2a9b7ea2_138d_8063_c68e_fb0dd1342c8c style aeb8e13f_6013_9070_eede_3ffebb7bbd6b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/button-group-example.tsx lines 99–116
function ButtonGroupWithText() {
return (
<Example title="With Text">
<div className="flex flex-col gap-4">
<ButtonGroup>
<ButtonGroupText>Text</ButtonGroupText>
<Button variant="outline">Another Button</Button>
</ButtonGroup>
<ButtonGroup>
<ButtonGroupText asChild>
<Label htmlFor="input-text">GPU Size</Label>
</ButtonGroupText>
<Input id="input-text" placeholder="Type something here..." />
</ButtonGroup>
</div>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ButtonGroupWithText() do?
ButtonGroupWithText() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/button-group-example.tsx.
Where is ButtonGroupWithText() defined?
ButtonGroupWithText() is defined in apps/v4/registry/bases/radix/examples/button-group-example.tsx at line 99.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free