Home / Function/ ToggleOutline() — ui Function Reference

ToggleOutline() — ui Function Reference

Architecture documentation for the ToggleOutline() function in toggle-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  8f362a7c_aa44_420e_ae37_4e36a40273fd["ToggleOutline()"]
  a3855539_0a9d_85ab_ed15_4f25cab72cdf["toggle-example.tsx"]
  8f362a7c_aa44_420e_ae37_4e36a40273fd -->|defined in| a3855539_0a9d_85ab_ed15_4f25cab72cdf
  style 8f362a7c_aa44_420e_ae37_4e36a40273fd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/toggle-example.tsx lines 60–87

function ToggleOutline() {
  return (
    <Example title="Outline">
      <div className="flex flex-wrap items-center gap-2">
        <Toggle variant="outline" aria-label="Toggle italic">
          <IconPlaceholder
            lucide="ItalicIcon"
            tabler="IconItalic"
            hugeicons="TextItalicIcon"
            phosphor="TextItalicIcon"
            remixicon="RiItalic"
          />
          Italic
        </Toggle>
        <Toggle variant="outline" aria-label="Toggle bold">
          <IconPlaceholder
            lucide="BoldIcon"
            tabler="IconBold"
            hugeicons="TextBoldIcon"
            phosphor="TextBIcon"
            remixicon="RiBold"
          />
          Bold
        </Toggle>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does ToggleOutline() do?
ToggleOutline() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/toggle-example.tsx.
Where is ToggleOutline() defined?
ToggleOutline() is defined in apps/v4/registry/bases/base/examples/toggle-example.tsx at line 60.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free