Component libraryTooltip
Tooltip
ProShort contextual labels on hover or keyboard focus.
npx shadcn@latest add @tidal-pro/tooltipInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/tooltip.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Wrap the app in exported TidalTooltipProvider (delayDuration350ms, skipDelayDuration300ms defaults). TidalTooltip requires short content:string and one enabled focusable child forwarding props/ref. Optional side, align, theme, delayDuration, shortcut (decorative key hint; consumer implements behavior) and className(content). Direction-aware surface entrance and staggered text/key reveal. Radix hover/focus description, Escape dismissal, hoverable content and collision positioning. Tooltip supplements the child accessible name; keep essential instructions visible and don't put actions in the tooltip. Pass theme for portal palette.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.