IconButtonWithTooltip

A ghost icon button with a tooltip that closes when the button is clicked.

Installation

pnpm dlx shadcn@latest add @chelone/icon-button-with-tooltip
Loading preview…

A ghost icon button with a tooltip that closes when the button is clicked.

Props

PropTypeDefaultDescription
labelReactNode—Tooltip content. A string is translated and also names the button.