Overlays
Tooltip
A short text label that appears above an element on hover.
Group: Overlays. Exports: Tooltip. shadcn/ui equivalent: Tooltip (partial parity).
Usage
import { Tooltip } from "./halaska-kit";
Tooltip props
childrenReactNode: Content.textstring:
Accessibility
- Shows on pointer hover and on keyboard focus of the element inside. Escape hides it.
- The text has the tooltip role and is hidden from assistive technology while not shown.
- The tip is linked to its trigger with aria-describedby. Icon-only controls still need their own label.
- Text stays on one line. Keep it to a few words.
Known gaps
- Always sits above the trigger. No side or align options.
- No open delay.
- Text only, no rich content.
Halaska UI · Components · Patterns · Screens · Install