use_jsmodule_style | R Documentation |
Adds the custom 'style.css' file bundled with the jsmodule package to a Shiny UI. This allows consistent styling (e.g., bold navbar title, font tweaks, spacing) across all Shiny applications using this package.
use_jsmodule_style()
This function is meant to be used inside the UI of a Shiny app. It automatically locates and includes the 'style.css' file found in 'inst/assets/' of the jsmodule package installation.
An HTML '<link>' tag that loads the CSS into a Shiny UI
include
## Not run:
use_jsmodule_style()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.