Start with Regular Shiny Code

  1. Load bslib
  2. Instantiate a bs_theme object
  3. Set theme to your bs_theme object in the UI
library(shiny)
library(bslib) # step 1

my_theme <- bs_theme() # step 2

ui <- fluidPage(
  theme = my_theme, # step 3
  ...
)  
Previous
Next