Feedback

Tooltip API

Tooltip is a CSS-first helper for short contextual hints. It works without client state.

Preview

Runs the current build.

Import

import { Tooltip } from "@axonyx/react";

Props

PropTypeDefaultDescription
contentReactNoderequiredTooltip content shown on hover/focus.
childrenReactNoderequiredTrigger element rendered inside the tooltip wrapper.

CSS contract

.ax-tooltip
.ax-tooltip__content