Use dbc.Button or html.Button in dcc.Tooltip

Hi,

you could use the dbc.Tooltip:

import dash
from dash import html, Input, Output
import dash_bootstrap_components as dbc


# app and layout
app = dash.Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
app.layout = html.Div(
    [
        dbc.Button(
            'Click',
            id='btn'
        ),
        dbc.Tooltip(
            "Just a tooltip",
            target='btn',
            placement='right',
        ),
        html.Div(id='out')
    ],
)


@app.callback(
    Output('out', 'children'),
    Input('btn', 'n_clicks'),
    prevent_initial_call=True
)
def show(click):
    return f'Button has been clicked {click} times'


if __name__ == '__main__':
    app.run(debug=True)