Menu

Content

Components

Utilities

Buy now

Tooltips

Custom tooltips for local title storage.

Bootstrap docs

Static example

Live demo

<!-- Tooltip on top -->
<button class="btn btn-outline-secondary" type="button" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">Tooltip on top</button>

<!-- Tooltip on right -->
<button class="btn btn-outline-secondary" type="button" data-bs-toggle="tooltip" data-bs-placement="right" title="Tooltip on right">Tooltip on right</button>

<!-- Tooltip on bottom -->
<button class="btn btn-outline-secondary" type="button" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Tooltip on bottom">Tooltip on bottom</button>

<!-- Tooltip on left -->
<button class="btn btn-outline-secondary" type="button" data-bs-toggle="tooltip" data-bs-placement="left" title="Tooltip on left">Tooltip on left</button>

<!-- Tooltip with HTML -->
<button class="btn btn-outline-secondary" type="button" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-html="true" title="<i>Tooltip</i> <u>with</u> <strong>HTML</strong>">Tooltip with HTML</button>
// Tooltip on top
button(type="button", class="btn btn-outline-secondary", data-bs-toggle="tooltip", data-bs-placement="top", title="Tooltip on top")
  | Tooltip on top

// Tooltip on right
button(type="button", class="btn btn-outline-secondary", data-bs-toggle="tooltip", data-bs-placement="right", title="Tooltip on right")
  | Tooltip on right

// Tooltip on bottom
button(type="button", class="btn btn-outline-secondary", data-bs-toggle="tooltip", data-bs-placement="bottom", title="Tooltip on bottom")
  | Tooltip on bottom

// Tooltip on left
button(type="button", class="btn btn-outline-secondary", data-bs-toggle="tooltip", data-bs-placement="left", title="Tooltip on left")
  | Tooltip on left

// Tooltip with HTML
button(type="button", class="btn btn-outline-secondary", data-bs-toggle="tooltip", data-bs-placement="top", data-bs-html="true", title="<i>Tooltip</i> <u>with</u> <strong>HTML</strong>")
  | Tooltip with HTML