ToggleGroupVerticalWithSpacing() — ui Function Reference
Architecture documentation for the ToggleGroupVerticalWithSpacing() function in toggle-group-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 3966f157_384c_9587_9350_da32ea4a031f["ToggleGroupVerticalWithSpacing()"] 7cfec362_e6dc_17ef_efcb_b8f12bc65346["toggle-group-example.tsx"] 3966f157_384c_9587_9350_da32ea4a031f -->|defined in| 7cfec362_e6dc_17ef_efcb_b8f12bc65346 style 3966f157_384c_9587_9350_da32ea4a031f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/toggle-group-example.tsx lines 531–556
function ToggleGroupVerticalWithSpacing() {
return (
<Example title="Vertical With Spacing">
<ToggleGroup
size="sm"
defaultValue={["top"]}
variant="outline"
orientation="vertical"
spacing={1}
>
<ToggleGroupItem value="top" aria-label="Toggle top">
Top
</ToggleGroupItem>
<ToggleGroupItem value="bottom" aria-label="Toggle bottom">
Bottom
</ToggleGroupItem>
<ToggleGroupItem value="left" aria-label="Toggle left">
Left
</ToggleGroupItem>
<ToggleGroupItem value="right" aria-label="Toggle right">
Right
</ToggleGroupItem>
</ToggleGroup>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ToggleGroupVerticalWithSpacing() do?
ToggleGroupVerticalWithSpacing() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/toggle-group-example.tsx.
Where is ToggleGroupVerticalWithSpacing() defined?
ToggleGroupVerticalWithSpacing() is defined in apps/v4/registry/bases/base/examples/toggle-group-example.tsx at line 531.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free