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

toggle-group-vertical.tsx — ui Source File

Architecture documentation for toggle-group-vertical.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
  f5e80a3a_cd7a_e994_d237_37eee0a26cce["toggle-group-vertical.tsx"]
  381a38dc_5711_76a9_7bac_2d680f9909fd["toggle-group"]
  f5e80a3a_cd7a_e994_d237_37eee0a26cce --> 381a38dc_5711_76a9_7bac_2d680f9909fd
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  f5e80a3a_cd7a_e994_d237_37eee0a26cce --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style f5e80a3a_cd7a_e994_d237_37eee0a26cce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { ToggleGroup, ToggleGroupItem } from "@/examples/base/ui/toggle-group"
import { BoldIcon, ItalicIcon, UnderlineIcon } from "lucide-react"

export function ToggleGroupVertical() {
  return (
    <ToggleGroup
      multiple
      orientation="vertical"
      spacing={1}
      defaultValue={["bold", "italic"]}
    >
      <ToggleGroupItem value="bold" aria-label="Toggle bold">
        <BoldIcon />
      </ToggleGroupItem>
      <ToggleGroupItem value="italic" aria-label="Toggle italic">
        <ItalicIcon />
      </ToggleGroupItem>
      <ToggleGroupItem value="underline" aria-label="Toggle underline">
        <UnderlineIcon />
      </ToggleGroupItem>
    </ToggleGroup>
  )
}

Subdomains

Dependencies

  • lucide-react
  • toggle-group

Frequently Asked Questions

What does toggle-group-vertical.tsx do?
toggle-group-vertical.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-group-vertical.tsx?
toggle-group-vertical.tsx defines 1 function(s): ToggleGroupVertical.
What does toggle-group-vertical.tsx depend on?
toggle-group-vertical.tsx imports 2 module(s): lucide-react, toggle-group.
Where is toggle-group-vertical.tsx in the architecture?
toggle-group-vertical.tsx is located at apps/v4/examples/base/toggle-group-vertical.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