ToggleBasic() — ui Function Reference
Architecture documentation for the ToggleBasic() function in toggle-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 0329d075_14aa_f9a1_e663_e76922ded2c0["ToggleBasic()"] 732d07fe_4126_27b7_8a89_b8f9929b69b4["toggle-example.tsx"] 0329d075_14aa_f9a1_e663_e76922ded2c0 -->|defined in| 732d07fe_4126_27b7_8a89_b8f9929b69b4 style 0329d075_14aa_f9a1_e663_e76922ded2c0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/toggle-example.tsx lines 24–58
function ToggleBasic() {
return (
<Example title="Basic">
<div className="flex flex-wrap items-center gap-2">
<Toggle aria-label="Toggle bold" defaultPressed>
<IconPlaceholder
lucide="BoldIcon"
tabler="IconBold"
hugeicons="TextBoldIcon"
phosphor="TextBIcon"
remixicon="RiBold"
/>
</Toggle>
<Toggle aria-label="Toggle italic">
<IconPlaceholder
lucide="ItalicIcon"
tabler="IconItalic"
hugeicons="TextItalicIcon"
phosphor="TextItalicIcon"
remixicon="RiItalic"
/>
</Toggle>
<Toggle aria-label="Toggle underline">
<IconPlaceholder
lucide="UnderlineIcon"
tabler="IconUnderline"
hugeicons="TextUnderlineIcon"
phosphor="TextUnderlineIcon"
remixicon="RiUnderline"
/>
</Toggle>
</div>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ToggleBasic() do?
ToggleBasic() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/toggle-example.tsx.
Where is ToggleBasic() defined?
ToggleBasic() is defined in apps/v4/registry/bases/radix/examples/toggle-example.tsx at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free