Home / File/ toggle-group-single.tsx — ui Source File

toggle-group-single.tsx — ui Source File

Architecture documentation for toggle-group-single.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
  3796571f_be95_7d13_e1d3_3a424ecfef9c["toggle-group-single.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  3796571f_be95_7d13_e1d3_3a424ecfef9c --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  2be49076_f54c_0fce_25e6_63e5eadebe25["toggle-group"]
  3796571f_be95_7d13_e1d3_3a424ecfef9c --> 2be49076_f54c_0fce_25e6_63e5eadebe25
  style 3796571f_be95_7d13_e1d3_3a424ecfef9c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Bold, Italic, Underline } from "lucide-react"

import {
  ToggleGroup,
  ToggleGroupItem,
} from "@/registry/default/ui/toggle-group"

export default function ToggleGroupDemo() {
  return (
    <ToggleGroup type="single">
      <ToggleGroupItem value="bold" aria-label="Toggle bold">
        <Bold className="h-4 w-4" />
      </ToggleGroupItem>
      <ToggleGroupItem value="italic" aria-label="Toggle italic">
        <Italic className="h-4 w-4" />
      </ToggleGroupItem>
      <ToggleGroupItem value="underline" aria-label="Toggle underline">
        <Underline className="h-4 w-4" />
      </ToggleGroupItem>
    </ToggleGroup>
  )
}

Subdomains

Functions

Dependencies

  • lucide-react
  • toggle-group

Frequently Asked Questions

What does toggle-group-single.tsx do?
toggle-group-single.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-group-single.tsx?
toggle-group-single.tsx defines 1 function(s): ToggleGroupDemo.
What does toggle-group-single.tsx depend on?
toggle-group-single.tsx imports 2 module(s): lucide-react, toggle-group.
Where is toggle-group-single.tsx in the architecture?
toggle-group-single.tsx is located at deprecated/www/registry/default/examples/toggle-group-single.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/examples).

Analyze Your Own Codebase

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

Try Supermodel Free