Home / Function/ ButtonGroupWithIcons() — ui Function Reference

ButtonGroupWithIcons() — ui Function Reference

Architecture documentation for the ButtonGroupWithIcons() function in button-group-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  7360ec6b_f606_2cd6_4863_c4ef10e00b3d["ButtonGroupWithIcons()"]
  d41ef55a_d021_eff9_a1f7_cf3a6ebe42df["button-group-example.tsx"]
  7360ec6b_f606_2cd6_4863_c4ef10e00b3d -->|defined in| d41ef55a_d021_eff9_a1f7_cf3a6ebe42df
  style 7360ec6b_f606_2cd6_4863_c4ef10e00b3d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/button-group-example.tsx lines 282–318

function ButtonGroupWithIcons() {
  return (
    <Example title="With Icons">
      <div className="flex flex-col gap-4">
        <ButtonGroup>
          <Button variant="outline">
            <IconPlaceholder
              lucide="FlipHorizontalIcon"
              tabler="IconFlipHorizontal"
              hugeicons="FlipHorizontalIcon"
              phosphor="ArrowsHorizontalIcon"
              remixicon="RiArrowLeftRightLine"
            />
          </Button>
          <Button variant="outline">
            <IconPlaceholder
              lucide="FlipVerticalIcon"
              tabler="IconFlipVertical"
              hugeicons="FlipVerticalIcon"
              phosphor="ArrowsVerticalIcon"
              remixicon="RiArrowUpDownLine"
            />
          </Button>
          <Button variant="outline">
            <IconPlaceholder
              lucide="RotateCwIcon"
              tabler="IconRotateClockwise2"
              hugeicons="Rotate01Icon"
              phosphor="ArrowClockwiseIcon"
              remixicon="RiRefreshLine"
            />
          </Button>
        </ButtonGroup>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does ButtonGroupWithIcons() do?
ButtonGroupWithIcons() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/button-group-example.tsx.
Where is ButtonGroupWithIcons() defined?
ButtonGroupWithIcons() is defined in apps/v4/registry/bases/base/examples/button-group-example.tsx at line 282.

Analyze Your Own Codebase

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

Try Supermodel Free