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 ComponentRegistry ChartRegistry 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  fb2e0800_d13a_ac3b_c95c_f22a3cf315ac["button-group-size.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  fb2e0800_d13a_ac3b_c95c_f22a3cf315ac --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  fb2e0800_d13a_ac3b_c95c_f22a3cf315ac --> 57e86e45_ac6e_7278_be08_9092724e8401
  d431e985_324f_ebc5_0383_4b336fa5e906["button-group"]
  fb2e0800_d13a_ac3b_c95c_f22a3cf315ac --> d431e985_324f_ebc5_0383_4b336fa5e906
  style fb2e0800_d13a_ac3b_c95c_f22a3cf315ac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { PlusIcon } from "lucide-react"

import { Button } from "@/registry/new-york-v4/ui/button"
import { ButtonGroup } from "@/registry/new-york-v4/ui/button-group"

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 ComponentRegistry domain, ChartRegistry 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/registry/new-york-v4/examples/button-group-size.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

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

Try Supermodel Free