Home / Function/ ButtonIconOnly() — ui Function Reference

ButtonIconOnly() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2280e6a1_2ddc_4438_af9f_8cc4cd3fdf13["ButtonIconOnly()"]
  406a095d_2246_161a_f71b_085efd146c9e["button-example.tsx"]
  2280e6a1_2ddc_4438_af9f_8cc4cd3fdf13 -->|defined in| 406a095d_2246_161a_f71b_085efd146c9e
  style 2280e6a1_2ddc_4438_af9f_8cc4cd3fdf13 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/button-example.tsx lines 647–876

function ButtonIconOnly() {
  return (
    <Example title="Icon Only">
      <div className="flex flex-wrap items-center gap-2">
        <Button size="icon-xs">
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
          />
        </Button>
        <Button size="icon-xs" variant="secondary">
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
          />
        </Button>
        <Button size="icon-xs" variant="outline">
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
          />
        </Button>
        <Button size="icon-xs" variant="ghost">
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
          />
        </Button>
        <Button size="icon-xs" variant="destructive">
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
          />
        </Button>
        <Button size="icon-xs" variant="link">
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
          />
        </Button>
      </div>
      <div className="flex flex-wrap items-center gap-2">
        <Button size="icon-sm">
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
          />
        </Button>
        <Button size="icon-sm" variant="secondary">
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
          />
        </Button>
        <Button size="icon-sm" variant="outline">
          <IconPlaceholder
            lucide="ArrowRightIcon"

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free