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

toggle-group-sizes.tsx — ui Source File

Architecture documentation for toggle-group-sizes.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  f20a0ac6_9622_a236_8b62_5d449c388ea4["toggle-group-sizes.tsx"]
  58e54a2f_a43f_4a51_fbfd_96c563fbe83a["toggle-group"]
  f20a0ac6_9622_a236_8b62_5d449c388ea4 --> 58e54a2f_a43f_4a51_fbfd_96c563fbe83a
  style f20a0ac6_9622_a236_8b62_5d449c388ea4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { ToggleGroup, ToggleGroupItem } from "@/examples/radix/ui/toggle-group"

export function ToggleGroupSizes() {
  return (
    <div className="flex flex-col gap-4">
      <ToggleGroup type="single" size="sm" defaultValue="top" variant="outline">
        <ToggleGroupItem value="top" aria-label="Toggle top">
          Top
        </ToggleGroupItem>
        <ToggleGroupItem value="bottom" aria-label="Toggle bottom">
          Bottom
        </ToggleGroupItem>
        <ToggleGroupItem value="left" aria-label="Toggle left">
          Left
        </ToggleGroupItem>
        <ToggleGroupItem value="right" aria-label="Toggle right">
          Right
        </ToggleGroupItem>
      </ToggleGroup>
      <ToggleGroup type="single" defaultValue="top" variant="outline">
        <ToggleGroupItem value="top" aria-label="Toggle top">
          Top
        </ToggleGroupItem>
        <ToggleGroupItem value="bottom" aria-label="Toggle bottom">
          Bottom
        </ToggleGroupItem>
        <ToggleGroupItem value="left" aria-label="Toggle left">
          Left
        </ToggleGroupItem>
        <ToggleGroupItem value="right" aria-label="Toggle right">
          Right
        </ToggleGroupItem>
      </ToggleGroup>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • toggle-group

Frequently Asked Questions

What does toggle-group-sizes.tsx do?
toggle-group-sizes.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-group-sizes.tsx?
toggle-group-sizes.tsx defines 1 function(s): ToggleGroupSizes.
What does toggle-group-sizes.tsx depend on?
toggle-group-sizes.tsx imports 1 module(s): toggle-group.
Where is toggle-group-sizes.tsx in the architecture?
toggle-group-sizes.tsx is located at apps/v4/examples/radix/toggle-group-sizes.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