A ghost button with an icon, whose label is its accessible name and tooltip.
Installation
Examples
Default
demo.tsx
Sizes
icon-sm and icon-lg match a Button's sm and lg heights.
sizes.tsx
Shortcut
shortcut, written as Mod Z, shows in the tooltip after the label.
shortcut.tsx
Tooltip side
side opens the tooltip on another side, such as right in a rail along the left edge.
side.tsx
As a menu trigger
A MenuTrigger renders it with render, so the menu opens from it.
menu.tsx
Anatomy
Each part's data-slot, which a theme styles, is beside it.
bun add @roprgm/ui