UI
← Home

Tooltip

A transient label shown on hover or focus of its trigger and associated via `aria-describedby`. Escape dismisses it while the trigger stays focused; moving the pointer or focus away hides it.

  • Axe
  • Focus

Preview

Installation

npx shadcn@latest add https://ui.publictheta.com/r/tooltip.json

Conformance

Verified against the @publictheta/ui-spec tooltip specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.

  • Axe No WCAG 2 A/AA axe-core violations
  • Focus A visible focus indicator appears on keyboard focus (WCAG 2.4.7)

See the full conformance matrix across all components.