# Tooltip ## Usage Add `data-tooltip` to the trigger element. Use `data-side` and `data-align` to change the position: - `data-tooltip`: Tooltip text. - `data-side` `Optional`: `top`, `bottom`, `left`, `right`, `inline-start`, or `inline-end`. Defaults to `top`. - `data-align` `Optional`: `start`, `center`, or `end`. Defaults to `center`. Basecoat tooltips are CSS-only and text-only. This intentionally differs from shadcn/ui's composed tooltip content, which can render arbitrary markup and uses a portal. ```html ``` ## Examples ### Default ### Sides
### Icon Button ### Disabled Button ### Link Learn more ### RTL