Tooltip

Tooltip

Portal-rendered floating hint for icon buttons, status indicators, and keyboard shortcuts.

Interactive Tooltips

Portal-rendered floating labels supporting top, bottom, left, and right positioning with customizable delay.

Quick Import

Example.tsxtsx
1import { Tooltip, Button } from "@rekodo/react";
2
3export function Example() {
4 return (
5 <Tooltip content="Play Track" side="top">
6 <Button size="icon"></Button>
7 </Tooltip>
8 );
9}

API Reference

Props accepted by this component.

PropTypeDefaultDescription
contentReactNoderequiredLabel content displayed inside the floating tooltip.
side"top" | "bottom" | "left" | "right""top"Preferred placement relative to trigger.
delayMsnumber200Hover delay before showing the tooltip in milliseconds.