The bsplus package can help you compose HTML for your shiny UI.
The primary goal of the package is to make it easier for you to use the Bootstrap Javascript API. This app shows a few of the functions available:
bs_embed_tooltip()
, use_bs_tooltip()
bs_embed_popover()
, use_bs_popover()
bs_modal()
, bs_attach_modal()
There are also a some functions that make it easier to work with shiny:
shiny_iconlink()
shinyInput_label_embed()
With the help icon, I want to make it easier to know what to expect: a tooltip, popover or a modal window. I propose a convention: shiny_iconlink("info")
for tooltips, and shiny_iconlink("info-circle")
(its default) for links used to activate popovers and modal windows.
A companion app shows how to use other function in the bsplus package to implement an "accordion-sidebar", which can provide you another dimension (in addition to a tabPanel) for your shiny UI.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.