View source: R/ds-dependencies.R
| use_designsystemet | R Documentation |
Include this function in your UI to load all necessary Designsystemet CSS and JavaScript dependencies.
use_designsystemet(color_scheme = "light")
color_scheme |
Color scheme to apply to the page. One of |
A tagList containing the dependencies
ui <- bslib::page_fluid(
use_designsystemet(),
ds_button("Click me", inputId = "btn")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.