Skip to content
Design System
GitHub

Tooltip

v0.7.0Beta

Names an icon-only control on hover and focus.

Tooltip default

Install
npx shadcn add @syncrobotic/tooltip

Also installs: radix-ui, @syncrobotic/cn

Overview

The name of an icon-only control, on hover and on keyboard focus.

When to use

  • Every icon button without a visible label.

Use something else

  • Anything needed on touch screens, where tooltips never show: a visible label, or Popover.

More examples

States and real uses. Each example is also a Storybook story and a visual regression test.

Tooltip on toolbar

Usage rules

  • Touch screens never show tooltips. Never put information the operator needs in one.

Changelog

  • 0.7.02026-11-178 px from its anchor, like the popover.
  • 0.6.02026-11-17Appears and disappears.
  • 0.5.02026-11-17First versioned release. Earlier history is in CHANGELOG.md.

How to upgrade