Informative message that appears when a user interacts with an element.
1<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Tooltip on top">
2 Tooltip on top
3</button>
4<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-title="Tooltip on right">
5 Tooltip on right
6</button>
7<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="Tooltip on bottom">
8 Tooltip on bottom
9</button>
10<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="Tooltip on left">
11 Tooltip on left
12</button>
Make it clear what this tooltip widget does for the user.
What to do with tooltips
What not to do with tooltips
Complete list of all CSS classes for the component.
Name | Class |
---|---|
Tooltip | tooltip tooltip- |
Contents