Carson Sievert
Software Engineer, Posit
bit.ly/bslib-dashboard-slides
Carson Sievert Software Engineer, Posit bit.ly/bslib-dashboard-slides
How to make a dashboard with {bslib}
{bslib}: a modern Shiny UI toolkit{shiny} and {shinydashboard}.
page_*()Easily upgrade to latest Bootstrap w/ {bslib} drop-in replacements for {shiny}’s fluidPage(), fixedPage(), etc (still on Bootstrap 3).
bs_theme()page_*() containers currently default to Bootstrap 5 (via theme = bs_theme()). Production apps should consider hard-coding the version.
Use bs_theme() to easily use Bootswatch themes…
font_google() to automatically download, cache, and import Google Font files.Bootstrap utility classes are also quite useful for spacing, alignment, and more.
{bslib}{bslib} for your next dashboard{shinydashboard} & {flexdashboard}
{shinydashboard} features
{bslib} for your next dashboardLearn more at rstudio.github.io/bslib
Link to cloud project bit.ly/bslib-dashboards-cloud-demo
Twitter/GitHub: @cpsievert
Web: cpsievert.me