ortaui
  1. Components
  2. Overlays

Tooltip

Foreground pill that fades and moves 6px over 160ms.

Installation#

npx shadcn add @ortaui/tooltip

Examples#

Sides#

Open#

API reference#

PropTypeDefaultDescription
open / defaultOpenboolean-Controlled or uncontrolled state.
onOpenChange(open: boolean) => void-Called when the open state changes.
side / align"top" | "right" | "bottom" | "left" / "start" | "center" | "end"-Placement relative to the trigger.
sideOffsetnumber8Gap to the trigger in px.
TooltipProviderdelay, closeDelay-Groups tooltips so the second opens instantly.
classNamestring-Merged with the component classes via cn().