Overlays
Tooltip
A short label on hover or focus, instant along a toolbar.
npx shadcn-svelte@latest add http://localhost:5173/r/tooltip.json Toolbar
The first tooltip waits 600ms, so passing over the toolbar doesn't set it off. Once one is showing, the next opens instantly and without animation.
light
dark
Sides
Each scales in from the side nearest its trigger. Near a screen edge it flips.
light
dark
Long text and open state
Wraps at 16rem with balanced lines. The last one is held open to show the surface.
light
dark