Add tooltips to your document.

tippy(text, tooltip, ..., elementId = NULL)

tippy_this(elementId, tooltip, ...)

with_tippy(element, tooltip, ...)

Arguments

text

Element text.

tooltip

Element tooltip.

...

Any other options from the official documentation.

elementId

string id as a valid CSS element id.

element

An object of class shiny.tag.

See also

Examples

tippy("Hover me!", tooltip = "Hi, I'm the tooltip!") tippy("Hover me!", tooltip = "Hi, I'm the tooltip!", placement = "right", theme = "light") tippy("Hover me!", tooltip = "Hi, I'm the tooltip!", animation = "scale", duration = 1000, placement = "bottom") tippy("Click me!", tooltip = "Hi, I'm the tooltip!", trigger = "click", theme = "light") # use tooltip on other elements. if(interactive()){ library(shiny) shinyApp( ui = fluidPage( with_tippy(textInput("input", "input with tooltip"), "Input text", placement = "right") ), server = function(input, output) {} ) }