Skip to content
Feedback & Data

TooltipFloat

A label that hangs in the air above its target, bobbing a little and leaning toward the pointer. Shows on keyboard focus too, flips when there is no room, and Esc hides it.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
contentReactNode—Tooltip text.
childrenReactElement—One focusable element, like a button or link.
side"top" | "bottom""top"Preferred side. Flips by itself when there is no room.
delaynumber150Milliseconds of hover before it shows.
classNamestringdark violetReplaces the tooltip look.