Skip to content
syntaqx

Components · Overlays

Tooltip

shadcn's Tooltip that works without a provider around the app.

Installation

npx shadcn@latest add https://www.syntaqx.com/r/tooltip.json

Changes from shadcn

It installs over shadcn's Tooltip and keeps its API, variants and data-slots, so code written for it keeps working. On top of that:

  • A Tooltip outside a TooltipProvider brings its own, so one tooltip needs no setup; inside a provider it uses that one.