ToggleGroupBasic() — ui Function Reference
Architecture documentation for the ToggleGroupBasic() function in toggle-group-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD f676bc57_d48c_5527_cd0f_06f9e5c17af0["ToggleGroupBasic()"] 7cfec362_e6dc_17ef_efcb_b8f12bc65346["toggle-group-example.tsx"] f676bc57_d48c_5527_cd0f_06f9e5c17af0 -->|defined in| 7cfec362_e6dc_17ef_efcb_b8f12bc65346 style f676bc57_d48c_5527_cd0f_06f9e5c17af0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/toggle-group-example.tsx lines 51–85
function ToggleGroupBasic() {
return (
<Example title="Basic">
<ToggleGroup multiple spacing={1}>
<ToggleGroupItem value="bold" aria-label="Toggle bold">
<IconPlaceholder
lucide="BoldIcon"
tabler="IconBold"
hugeicons="TextBoldIcon"
phosphor="TextBIcon"
remixicon="RiBold"
/>
</ToggleGroupItem>
<ToggleGroupItem value="italic" aria-label="Toggle italic">
<IconPlaceholder
lucide="ItalicIcon"
tabler="IconItalic"
hugeicons="TextItalicIcon"
phosphor="TextItalicIcon"
remixicon="RiItalic"
/>
</ToggleGroupItem>
<ToggleGroupItem value="underline" aria-label="Toggle underline">
<IconPlaceholder
lucide="UnderlineIcon"
tabler="IconUnderline"
hugeicons="TextUnderlineIcon"
phosphor="TextUnderlineIcon"
remixicon="RiUnderline"
/>
</ToggleGroupItem>
</ToggleGroup>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ToggleGroupBasic() do?
ToggleGroupBasic() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/toggle-group-example.tsx.
Where is ToggleGroupBasic() defined?
ToggleGroupBasic() is defined in apps/v4/registry/bases/base/examples/toggle-group-example.tsx at line 51.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free