marclayuiv0.4.0
Components

Tooltip

Pure CSS — a dark clay bubble with a rotated-square arrow that appears on hover and when the wrapped control receives keyboard focus.

tsx
import { Tooltip } from "marclayui";

Basic

Placements

PropTypeDefaultDescription
labelstring—Tooltip text (kept to a short phrase).
placement"top" | "bottom" | "left" | "right""top"Where the bubble appears.
childrenReact.ReactNode—Wrap a focusable control; it must be able to receive focus.