Home / File/ toggle-demo.tsx — ui Source File

toggle-demo.tsx — ui Source File

Architecture documentation for toggle-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  6bd75f9e_da13_28f1_b562_784e230dc6d7["toggle-demo.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  6bd75f9e_da13_28f1_b562_784e230dc6d7 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  e32518d5_161b_68da_2fcc_37a318659d51["toggle"]
  6bd75f9e_da13_28f1_b562_784e230dc6d7 --> e32518d5_161b_68da_2fcc_37a318659d51
  style 6bd75f9e_da13_28f1_b562_784e230dc6d7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Bold } from "lucide-react"

import { Toggle } from "@/registry/default/ui/toggle"

export function ToggleDemo() {
  return (
    <Toggle aria-label="Toggle italic">
      <Bold className="h-4 w-4" />
    </Toggle>
  )
}

Subdomains

Functions

Dependencies

  • lucide-react
  • toggle

Frequently Asked Questions

What does toggle-demo.tsx do?
toggle-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in toggle-demo.tsx?
toggle-demo.tsx defines 1 function(s): ToggleDemo.
What does toggle-demo.tsx depend on?
toggle-demo.tsx imports 2 module(s): lucide-react, toggle.
Where is toggle-demo.tsx in the architecture?
toggle-demo.tsx is located at deprecated/www/registry/default/internal/sink/components/toggle-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/internal/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free