Skip to content

Tooltip

A popup that displays information related to an element when the mouse hovers over it.

When to Use

  • To provide additional context, explanations, or instructions.

Usage

ts
import { Button, Tooltip } from '@youcan/alto';
js
<Tooltip label="Add to favorites" position="top">
  <Button>
    Hover
  </Button>
</Tooltip>

API Reference