LifeDS

Components

Component

Tooltip

A popup that displays information related to an element when it receives keyboard focus or the mouse hovers over it.

TooltipProviderroot-level provider — already set up in app/layout.tsx
TooltipContentside: top · bottom · left · right
Playground

Basic

Sides

side="top" · "bottom" · "left" · "right"

With keyboard shortcut

On a disabled button — wrap in span

RTL support

Tokens used

2 semantic tokens consumed by this component.

--foregroundForeground
text-foreground
--backgroundBackground
bg-background