Start with Regular Shiny Code
- Load bslib
- Instantiate a
bs_theme
object - Set
theme
to yourbs_theme
object in the UI
library(shiny)
library(bslib) # step 1
my_theme <- bs_theme() # step 2
ui <- fluidPage(
theme = my_theme, # step 3
...
)
bs_theme
objecttheme
to your bs_theme
object in the UIlibrary(shiny)
library(bslib) # step 1
my_theme <- bs_theme() # step 2
ui <- fluidPage(
theme = my_theme, # step 3
...
)