Bslib screenshot

Bslib

Author Avatar Theme by Rstudio
Updated: 17 Apr 2025
517 Stars

Tools for theming Shiny and R Markdown via Bootstrap 3, 4, or 5.

Categories

Overview

The bslib R package provides a modern UI toolkit for Shiny and RMarkdown based on Bootstrap. It allows for the creation of customizable Shiny dashboards and theming of Shiny apps and R Markdown documents. The package is designed to work with modern versions of Bootstrap and Bootswatch.

Features

  • Creation of delightful and customizable Shiny dashboards
  • UI components that can also be used in other contexts, such as RMarkdown
  • Interactive real-time theming of Shiny apps
  • Use of modern versions of Bootstrap and Bootswatch

Installation

To install the bslib package, you can use the following code:

install.packages("bslib")

Summary

The bslib R package provides a toolkit for creating modern and customizable UIs for Shiny and RMarkdown using Bootstrap. It allows for the creation of delightful and customizable Shiny dashboards and provides UI components that can be used in other contexts. The package also offers interactive theming capabilities for Shiny apps. The installation process is straightforward and the package has resources available for getting started and seeking help. Overall, bslib is a useful tool for enhancing the design and aesthetics of Shiny and RMarkdown applications.