//Tooltip

Markup 𓃠

The required markup for a tooltip is only a data attribute and title on the HTML element you wish to have a tooltip. The generated markup of a tooltip is rather simple, though it does require a position (by default, set to top by the plugin).
⟢ Enable tooltips ⤵

As mentioned above, you must initialize tooltips before they can be used. One way to initialize all tooltips on a page would be to select them ⛶ main.js // Tooltip Trigger ❯❯❯❯ [data-bs-toggle="tooltip"] attribute, like so:

And with custom HTML added:

  • data-bs-html="true"
  • Hover over the buttons below to see the four tooltips ↗ directions: top, right, bottom, and left. Directions are mirrored when using Bootstrap in RTL.

  • data-bs-placement=""
  • Tooltips Elements ⚡
    ↳ Example 1
    Feel free to use either title or data-bs-title in your HTML. When title is used, Popper will replace it automatically with data-bs-title when the element is rendered.
    On Chain
    18,422
    1,220/2,500 42%
    #422
    + 3.42%
    64d 7h 33m 1s
    Blaze Punks
    6,250
    Floor : 50.00 Flow
    1,220/2,500 42%
    25+ Pre-Made Demos