Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daattali/shinytip

๐Ÿ’ฌ Simple flexible tooltips for Shiny apps
https://github.com/daattali/shinytip

r r-package rstats shiny shiny-r

Last synced: 26 days ago
JSON representation

๐Ÿ’ฌ Simple flexible tooltips for Shiny apps

Awesome Lists containing this project

README

        


shinytip


Simple flexible tootips for Shiny apps



Demo
ยท
by Dean Attali



R Build Status


CRAN version

---

# shinytip
Simple flexible tootips for Shiny apps

works in rmd/qmd
works in dynamic ui (insertUI or renderUI)
works in modals (shiny modalDialog or shinyalert)
works in modules
works on text
works with shinycssloaders
works with emojis

TODO programatically show/hide tooltip

biggest weakness: does not automatically detect the best position so it can run off-screen, but other libraries have that as well.
on moble you need to click away rather than click again, also can't use HTML

Balloon.css make use of pseudo-elements, so if pseudo elements are already in use on an element, the tooltip will conflict with them resulting in potential bugs.

set option for all tooltips using `shinytip.optionname`

tippy doesn't work in all the scenarios i tried and doesnt support the optoins i wanted, although it does have a different et of options/methods that shinytip doesnt have so take a look there as well if shinytip doesnt do what you want. it's been in a "warning" state about its api changing for a year. its javascript whereas shinyitp is only css

bslib is only for bootstrap 5

prompter: must add use_prompt(), does not work on text (input must be a tag), does not have many of the customization options
bsplus: requires use_bs_tooltip(), does not work on text, also doesnt automatically position it correctly, doesnt have any customization options
shinyBS: no longer maintained, couldn't get it to work