ComponentsIt may be useful to wrap a few Bootstrap components:
These components will be wrapped in a future version:
|
|
---|---|
Button |
|
Panel |
|
Collapse, accordion, and accordion sidebarAll of these functions deal with collapsible elements. The foundation is the collapse element; upon this, you can build a set of accordion panels. For shiny apps, the accordion-sidebar framework may be useful as it can give you another dimension with which to organize your UI. - Collapsible element - Article - Boostrap reference
The verb attach is used with collapse elements; you create a collapse element, then attach its |
|
Collapsible element |
|
|
Accordion panel-group |
|
Accordion-sidebar panel-group |
Tooltip, popover, and modal windowTooltips, popovers, and modals can be useful for including extra information in your rmarkdown document or your shiny app. - Tooltip - Article - Bootstrap reference - Popover - Article - Bootstrap reference - Modal window - Article - Boostrap reference You can see tooltips, popovers, and modal windows in this shiny app. Different verbs are associated with these elements: you embed tooltips and popovers into tags; whereas you create a modal element, then attach its |
|
Tooltip |
|
Popover |
|
Modal window |
|
CarouselCarousels are used to contain sets of “content”, while showing one element of the set at a time. Generally, the content are images, but it can be any HTML. One way that a this could be a more-useful tool if an “easy” way can be found to populate a carousel with images produced by gganimate. |
|
Carousel |
|
Carousel image |
|
Carousel caption |
|
Shiny UI extensionsOne of the more-specific goals of this package is to make it easier to incorporate help-documentation into your shiny apps. Some helper functions are provided to create help-links, then embed them into labels of shiny inputs. You can see these helper functions in action in this shiny app. |
|
Create link containing Shiny icon |
|
Embed an element into the label of a Shiny-input tag |
|
HelpersThe function |
|
Sets Bootstrap data- and aria- attributes. |
|
Renders and returns an HTML fragment |