Home / File/ button-group-size.tsx — ui Source File

button-group-size.tsx — ui Source File

Architecture documentation for button-group-size.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  bd0fea63_ea97_7764_45ef_4ac9e815ace5["button-group-size.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  bd0fea63_ea97_7764_45ef_4ac9e815ace5 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  18f6542f_51e6_ba81_129a_f0eef8a35168["button-group"]
  bd0fea63_ea97_7764_45ef_4ac9e815ace5 --> 18f6542f_51e6_ba81_129a_f0eef8a35168
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  bd0fea63_ea97_7764_45ef_4ac9e815ace5 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style bd0fea63_ea97_7764_45ef_4ac9e815ace5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/radix/ui/button"
import { ButtonGroup } from "@/examples/radix/ui/button-group"
import { PlusIcon } from "lucide-react"

export default function ButtonGroupSize() {
  return (
    <div className="flex flex-col items-start gap-8">
      <ButtonGroup>
        <Button variant="outline" size="sm">
          Small
        </Button>
        <Button variant="outline" size="sm">
          Button
        </Button>
        <Button variant="outline" size="sm">
          Group
        </Button>
        <Button variant="outline" size="icon-sm">
          <PlusIcon />
        </Button>
      </ButtonGroup>
      <ButtonGroup>
        <Button variant="outline">Default</Button>
        <Button variant="outline">Button</Button>
        <Button variant="outline">Group</Button>
        <Button variant="outline" size="icon">
          <PlusIcon />
        </Button>
      </ButtonGroup>
      <ButtonGroup>
        <Button variant="outline" size="lg">
          Large
        </Button>
        <Button variant="outline" size="lg">
          Button
        </Button>
        <Button variant="outline" size="lg">
          Group
        </Button>
        <Button variant="outline" size="icon-lg">
          <PlusIcon />
        </Button>
      </ButtonGroup>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • button
  • button-group
  • lucide-react

Frequently Asked Questions

What does button-group-size.tsx do?
button-group-size.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 button-group-size.tsx?
button-group-size.tsx defines 1 function(s): ButtonGroupSize.
What does button-group-size.tsx depend on?
button-group-size.tsx imports 3 module(s): button, button-group, lucide-react.
Where is button-group-size.tsx in the architecture?
button-group-size.tsx is located at apps/v4/examples/radix/button-group-size.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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