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 DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

import { Toggle } from "@/examples/base/ui/toggle"
import { BookmarkIcon } from "lucide-react"

export function ToggleDemo() {
  return (
    <Toggle aria-label="Toggle bookmark" size="sm" variant="outline">
      <BookmarkIcon className="group-aria-pressed/toggle:fill-foreground" />
      Bookmark
    </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 DocumentationAtlas domain, ContentSourcing 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 apps/v4/examples/base/toggle-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).

Analyze Your Own Codebase

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

Try Supermodel Free