shiny-bslib

Create Shiny dashboards with bslib Bootstrap 5 layouts and theming.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/jhelvy/dotfiles --skill shiny-bslib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shiny-bslib
Source: https://github.com/jhelvy/dotfiles/tree/main/claude/skills/shiny-bslib
Command: npx skills add https://github.com/jhelvy/dotfiles --skill shiny-bslib

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users create professional, modern Shiny dashboards and applications by leveraging the bslib package, which provides Bootstrap 5 components and layouts. It simplifies the process of building visually appealing and user-friendly web applications with R.

Core Features & Use Cases

  • Modern UI/UX: Build apps with contemporary design patterns that replace legacy Shiny approaches.
  • Layouts: Utilize flexible page layouts (page_sidebar, page_navbar), grid systems (layout_column_wrap, layout_columns), and card-based containers.
  • Components: Implement value boxes, accordions, tooltips, popovers, and special inputs like input_switch and input_code_editor.
  • Theming: Easily apply themes, including dark mode, and customize colors and fonts.
  • Use Case: You need to create a new interactive dashboard for analyzing sales data. This Skill will guide you through using page_sidebar for the layout, card components for visualizations, value_box for key metrics, and bs_theme for a professional look.

Quick Start

Use the shiny-bslib skill to create a basic single-page dashboard with a sidebar and a plot output.

Frequently Asked Questions about shiny-bslib

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a modern Shiny dashboard with Bootstrap 5 components in R?

You can build modern Shiny dashboards using the bslib package, which provides Bootstrap 5 components, responsive layouts, and theming to create professional web applications in R.

What's the best way to create a sidebar layout for an R Shiny app?

Use the page_sidebar function from bslib to create a single-page dashboard layout, allowing you to easily organize sidebar controls and main content areas in your R Shiny app.

Can I use dark mode and custom themes in my R Shiny application?

Yes, you can apply custom themes and dark mode to your R Shiny application using the bs_theme function, which allows you to customize colors and fonts for enhanced UI/UX.

How do I add value boxes and cards to an R Shiny dashboard?

You can implement value boxes and card-based containers in your R Shiny dashboard using bslib components, enabling you to display key metrics and visualizations in a modern layout.

Does bslib support responsive grid layouts for Shiny apps?

Yes, bslib supports responsive grid layouts in Shiny apps using layout_column_wrap and layout_columns, allowing you to build flexible, multi-page applications that adapt to different screen sizes.