rstudio / bslib
Tools for theming Shiny and R Markdown via Bootstrap 3, 4, or 5.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing rstudio/bslib in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewbslib The R package provides a modern UI toolkit for Shiny and R Markdown based on Bootstrap. It facilitates: • Creation of delightful and customizable Shiny dashboards. • The underlying UI components (e.g., cards, value boxes, sidebars, etc) are also designed to work in other contexts (e.g., in R Markdown). • Custom theming of Shiny apps and R Markdown documents. • Apps can even be themed interactively in real-time. • Use of modern versions of Bootstrap and Bootswatch • Shiny and R Markdown currently default to Bootstrap 3 and may continue to do so to maintain backwards compatibility. Installation Install the package from CRAN as follows: An example The quickest way to see what can do is to run at the console. This launches a demo app containing both and UI components as well as an theming widget ( ) overlaid on the app. See real-time theming to learn more. Get started Since covers a wide array of uses, it has numerous getting started articles, each focusing on a particular interest: • Shiny dashboards • Any Bootstrap project • Theming Getting help There are two main places to get help with : • The RStudio community is a friendly place to ask any questions (be sure to add a tag when creating a topic). • Stack Overflow is a great source of answers to common questions. It is also a great place to get help, once you have created a reproducible example that illustrates your problem. Use the tags if you ask a question. Add the tag if you are using a Shiny runtime. Code of Conduct Please note that the bslib project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.