ButtonIconOnly() — ui Function Reference
Architecture documentation for the ButtonIconOnly() function in button-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD e29ea190_d500_5eeb_3a22_7c9da1dba8e6["ButtonIconOnly()"] 772723e6_4a62_fce8_1bea_a4d915741704["button-example.tsx"] e29ea190_d500_5eeb_3a22_7c9da1dba8e6 -->|defined in| 772723e6_4a62_fce8_1bea_a4d915741704 style e29ea190_d500_5eeb_3a22_7c9da1dba8e6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/button-example.tsx lines 648–877
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"
Domain
Subdomains
Source
Frequently Asked Questions
What does ButtonIconOnly() do?
ButtonIconOnly() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/button-example.tsx.
Where is ButtonIconOnly() defined?
ButtonIconOnly() is defined in apps/v4/registry/bases/radix/examples/button-example.tsx at line 648.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free