reflex/docs/library/overlay/tooltip.md
2024-02-26 17:18:28 +01:00

551 B

components Tooltip
rx.radix.tooltip
lambda **props: rx.radix.themes.tooltip( rx.radix.themes.button("Hover over me"), content="This is the tooltip content.", **props, )
import reflex as rx

Tooltip

A tooltip displays informative information when users hover over or focus on an element.

It takes a content prop, which is the content associated with the tooltip.

rx.tooltip(
    rx.button("Hover over me"),
    content="This is the tooltip content.",
)