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

toggle-text.tsx — ui Source File

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

File tsx DocumentationAtlas SearchAPI 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  e0ceeb57_fe0c_c2b0_0ed4_3cf0dbcfc578["toggle-text.tsx"]
  61901fff_e0e9_9e5b_700d_48033d37776d["toggle"]
  e0ceeb57_fe0c_c2b0_0ed4_3cf0dbcfc578 --> 61901fff_e0e9_9e5b_700d_48033d37776d
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  e0ceeb57_fe0c_c2b0_0ed4_3cf0dbcfc578 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style e0ceeb57_fe0c_c2b0_0ed4_3cf0dbcfc578 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Toggle } from "@/examples/radix/ui/toggle"
import { ItalicIcon } from "lucide-react"

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

Subdomains

Functions

Dependencies

  • lucide-react
  • toggle

Frequently Asked Questions

What does toggle-text.tsx do?
toggle-text.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in toggle-text.tsx?
toggle-text.tsx defines 1 function(s): ToggleText.
What does toggle-text.tsx depend on?
toggle-text.tsx imports 2 module(s): lucide-react, toggle.
Where is toggle-text.tsx in the architecture?
toggle-text.tsx is located at apps/v4/examples/radix/toggle-text.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free