Skip to content

Tooltip

BsTooltip is a component which is useful for conveying information when user hovers over an element.

Overview

BsTooltip component can be wrapped on almost any component or html element.

This text has a tooltip

Display Placement

A tooltip can be aligned to any of the four sides of the activator element.

CSS Variables

Added since v2.0.0
scss
--md-tooltip-arrow-width: 0.8rem;
--md-tooltip-arrow-height: 0.4rem;
--md-tooltip-border-radius: 0.375rem;
--md-tooltip-bg: #000;
--md-tooltip-color: #fff;
--md-tooltip-opacity: 0.9;
--md-tooltip-font-size: 13px;

API Reference

Released under the BSD-3-Clause License.