Home / File/ toggle-with-text.tsx — ui Source File

toggle-with-text.tsx — ui Source File

Architecture documentation for toggle-with-text.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
  2e6c7f83_ddb4_51a4_c430_ef58e6d8512b["toggle-with-text.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  2e6c7f83_ddb4_51a4_c430_ef58e6d8512b --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  cb91aac3_a5fe_6b34_a821_cefdace689f5["toggle"]
  2e6c7f83_ddb4_51a4_c430_ef58e6d8512b --> cb91aac3_a5fe_6b34_a821_cefdace689f5
  style 2e6c7f83_ddb4_51a4_c430_ef58e6d8512b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Italic } from "lucide-react"

import { Toggle } from "@/registry/new-york/ui/toggle"

export function ToggleWithText() {
  return (
    <Toggle aria-label="Toggle italic">
      <Italic />
      Italic
    </Toggle>
  )
}

Subdomains

Functions

Dependencies

  • lucide-react
  • toggle

Frequently Asked Questions

What does toggle-with-text.tsx do?
toggle-with-text.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-with-text.tsx?
toggle-with-text.tsx defines 1 function(s): ToggleWithText.
What does toggle-with-text.tsx depend on?
toggle-with-text.tsx imports 2 module(s): lucide-react, toggle.
Where is toggle-with-text.tsx in the architecture?
toggle-with-text.tsx is located at deprecated/www/registry/new-york/internal/sink/components/toggle-with-text.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/internal/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free