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
  0779d4e7_c9f6_90f4_d026_52072a3c6d96["ButtonGroupWithIcons()"]
  2a9b7ea2_138d_8063_c68e_fb0dd1342c8c["button-group-example.tsx"]
  0779d4e7_c9f6_90f4_d026_52072a3c6d96 -->|defined in| 2a9b7ea2_138d_8063_c68e_fb0dd1342c8c
  style 0779d4e7_c9f6_90f4_d026_52072a3c6d96 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/button-group-example.tsx lines 278–314

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/radix/examples/button-group-example.tsx.
Where is ButtonGroupWithIcons() defined?
ButtonGroupWithIcons() is defined in apps/v4/registry/bases/radix/examples/button-group-example.tsx at line 278.

Analyze Your Own Codebase

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

Try Supermodel Free