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

Entity Profile

Dependency Diagram

graph LR
  f0e66239_ff51_89cd_0f09_6f048bbece16["button-group-size.tsx"]
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  f0e66239_ff51_89cd_0f09_6f048bbece16 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  a6e3100c_774c_ccde_3661_3d83448167f7["button-group"]
  f0e66239_ff51_89cd_0f09_6f048bbece16 --> a6e3100c_774c_ccde_3661_3d83448167f7
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  f0e66239_ff51_89cd_0f09_6f048bbece16 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style f0e66239_ff51_89cd_0f09_6f048bbece16 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/base/ui/button"
import { ButtonGroup } from "@/examples/base/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, Changelog 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/base/button-group-size.tsx (domain: DocumentationAtlas, subdomain: Changelog, 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