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
  4f7c9f28_8b7c_e466_30c9_458e10376b52["toggle-with-text.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  4f7c9f28_8b7c_e466_30c9_458e10376b52 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  9f31239d_4d4f_f1b1_7ff3_ec54f2392841["toggle"]
  4f7c9f28_8b7c_e466_30c9_458e10376b52 --> 9f31239d_4d4f_f1b1_7ff3_ec54f2392841
  style 4f7c9f28_8b7c_e466_30c9_458e10376b52 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Italic } from "lucide-react"

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

export default 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 apps/v4/registry/new-york-v4/examples/toggle-with-text.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

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

Try Supermodel Free