ButtonGroupWithSelectAndInput() — ui Function Reference
Architecture documentation for the ButtonGroupWithSelectAndInput() function in button-group-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD da38ea61_f6b9_4818_8ec5_f0ced7f866cc["ButtonGroupWithSelectAndInput()"] d41ef55a_d021_eff9_a1f7_cf3a6ebe42df["button-group-example.tsx"] da38ea61_f6b9_4818_8ec5_f0ced7f866cc -->|defined in| d41ef55a_d021_eff9_a1f7_cf3a6ebe42df style da38ea61_f6b9_4818_8ec5_f0ced7f866cc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/button-group-example.tsx lines 423–445
function ButtonGroupWithSelectAndInput() {
return (
<Example title="With Select and Input">
<ButtonGroup>
<Select items={durationItems} defaultValue={durationItems[0]}>
<SelectTrigger id="duration">
<SelectValue />
</SelectTrigger>
<SelectContent align="start">
<SelectGroup>
{durationItems.map((item) => (
<SelectItem key={item.value} value={item.value}>
{item.label}
</SelectItem>
))}
</SelectGroup>
</SelectContent>
</Select>
<Input />
</ButtonGroup>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ButtonGroupWithSelectAndInput() do?
ButtonGroupWithSelectAndInput() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/button-group-example.tsx.
Where is ButtonGroupWithSelectAndInput() defined?
ButtonGroupWithSelectAndInput() is defined in apps/v4/registry/bases/base/examples/button-group-example.tsx at line 423.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free