Tooltips

Tooltips provide users with contextual information and guidance when they hover over or focus on a particular component.

Button Examples


Overflowing Text Examples

This is a very long text that will be ...

Another example of long text that ge...

CSS Properties

                
/*TOOLTIPS*/  

    .tippy-box[data-theme~='customrightleft'],
    .tippy-box[data-theme~='customtopbottom'] {
        background-color: var(--Grey-xd);
        color: #fff;
        font-size: 12px;
        font-family: var(--base-font-family);
    }

    .tippy-box[data-theme~='customrightleft'] > .tippy-arrow::before {
        border-right-color: var(--Grey-xd);
        border-left-color: var(--Grey-xd);
    }

    .tippy-box[data-theme~='customtopbottom'] > .tippy-arrow::before {
        border-top-color: var(--Grey-xd);
        border-bottom-color: var(--Grey-xd);
    } 
                
            

Typescript

                
tippy('#tooltipTopBottom', {
    placement: 'top',
    animation: 'fade',
    theme: 'customtopbottom',
    delay: [500, 0],
    duration: 200, 
    arrow: true,
    interactive: true, 
    interactiveBorder: 10, 
});

tippy('#tooltipRightBottom', {
    placement: 'right',
    animation: 'fade',
    theme: 'customrightleft',
    delay: [500, 0],
    duration: 200, 
    arrow: true,
    interactive: true, 
    interactiveBorder: 10, 
});

tippy('#tooltipBottomBottom', {
    placement: 'bottom',
    animation: 'fade',
    theme: 'customtopbottom',
    delay: [500, 0],
    duration: 200, 
    arrow: true,
    interactive: true, 
    interactiveBorder: 10, 
});

tippy('#tooltipLeftBottom', {
    placement: 'left',
    animation: 'fade',
    theme: 'customrightleft',
    delay: [500, 0],
    duration: 200, 
    arrow: true,
    interactive: true, 
    interactiveBorder: 10, 
});