Tooltip API
Tooltip is a CSS-first helper for short contextual hints. It works without client state.
Preview components
Open the component docs to see examples, combinations, and usage patterns built on top of this API.
- TooltipHover hints and action helper examples.
Preview
Runs the current build.
Import
import { Tooltip } from "@axonyx/react";Props
| Prop | Type | Default | Description |
|---|---|---|---|
| content | ReactNode | required | Tooltip content shown on hover/focus. |
| children | ReactNode | required | Trigger element rendered inside the tooltip wrapper. |
CSS contract
.ax-tooltip .ax-tooltip__content