A lightweight tooltip component for providing contextual information on hover or focus.
The 8px rounded container that holds the contextual help text with high-contrast background.
Directional indicator that visually connects the tooltip to its source element.
// ExperimentTooltip.tsx
const ExperimentTooltip = ({ content, children }) => (
<div className="relative group">
{children}
<div className="absolute opacity-0 group-hover:opacity-100 transition-opacity">
<div className="bg-macos-gray-900 text-white rounded-lg p-2 text-xs">
{content}
</div>
</div>
</div>
);