shinyswatch
Bootswatch + Bootstrap 5 themes for Shiny.
Decision gist · record as of 2026-08-14
Yes. shinyswatch is a low-friction, actively maintained utility that solves a real problem—applying polished, pre-built themes to Shiny apps without CSS expertise. No known vulnerabilities, permissive MIT license, and recent releases. Install it if you're building Shiny applications and want professional-looking themes out of the box.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Shiny for Python to be installed; works with Python 3.10 or later.
- Low friction installation with a pure-Python wheel.
- Active maintenance with a recent release (16 days old) and clean repository history.
License · maintenance · safety
permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal attribution requirements.
last release 2026-07-29 (16 days) · last repo commit 2026-07-29 · 36 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 132,913 downloads/mo, #11,534 on PyPI
Alternatives
Verify before relying
pip install shinyswatch
from shiny import App, ui, render
import shinyswatch
app_ui = ui.page_fluid(
ui.input_slider("num", "Number:", min=10, max=100, value=30),
theme=shinyswatch.theme.darkly
)
def server(input, output, session):
@output
@render.text
def slider_val():
return f"{input.num()}"
app = App(app_ui, server)- Whether all 25 themes are fully documented or discoverable programmatically.
- Performance impact of theme switching at runtime in large applications.
- Compatibility with custom CSS or third-party Bootstrap extensions.
What it is and what it does
shinyswatch wraps Bootswatch themes—pre-built Bootstrap 5 CSS designs—into Python objects that integrate directly with Shiny for Python applications. Instead of writing or managing CSS, you pass a theme object (like `shinyswatch.theme.darkly` or `shinyswatch.theme.minty`) to your app's UI definition, and the entire visual appearance changes instantly. The package includes 25 themes covering a range of aesthetics from minimal to bold.
Each theme also exposes a `.colors` attribute, letting you extract the theme's color palette for use in plots and other custom UI elements. This keeps your app's visual identity consistent across all components. Installation is straightforward—a single pip command—and the package has no heavy dependencies beyond Shiny itself, htmltools, packaging, and typing-extensions.
Use it for
- Apply a dark theme to a Shiny dashboard without writing custom CSS.
- Build a theme picker UI that lets end users switch between 25 pre-built themes at runtime.
- Extract theme colors to style matplotlib or plotly charts to match your app's visual design.
- Quickly prototype a web app with a professional, cohesive look using Bootswatch designs.
- Ensure consistent Bootstrap 5 styling across multiple Shiny applications.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
shinyswatch is a low-friction, actively maintained utility that solves a real problem—applying polished, pre-built themes to Shiny apps without CSS expertise. No known vulnerabilities, permissive MIT license, and recent releases. Install it if you're building Shiny applications and want professional-looking themes out of the box.
Install
shinyswatch on PyPI
Before you install
Low friction installation with a pure-Python wheel. Active maintenance with a recent release (16 days old) and clean repository history. Supports current Python versions (3.10–3.14).
Requires Shiny for Python to be installed; works with Python 3.10 or later.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal attribution requirements.
Quickstart
pip install shinyswatch
from shiny import App, ui, render
import shinyswatch
app_ui = ui.page_fluid(
ui.input_slider("num", "Number:", min=10, max=100, value=30),
theme=shinyswatch.theme.darkly
)
def server(input, output, session):
@output
@render.text
def slider_val():
return f"{input.num()}"
app = App(app_ui, server)
Verify before relying
- Whether all 25 themes are fully documented or discoverable programmatically.
- Performance impact of theme switching at runtime in large applications.
- Compatibility with custom CSS or third-party Bootstrap extensions.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagestyping-extensionspackaginghtmltoolsshiny |
| Maintenance | Actively maintained 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 132,913 / month, #11,534 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Markup :: HTML |
Evidence: shinyswatch-0.12.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “shiny app themes”
- shinyswatchProvides 25 Bootswatch + Bootstrap 5 themes for Shiny Python…
- shinywidgetsEmbeds ipywidgets (Jupyter interactive widgets) directly into Shiny…
- shinychatshinychat provides a chat UI component for building conversational…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also ttkbootstrap · sphinx-bootstrap-theme · dash-bootstrap-templates · shinychat · shiny · faicons · shinywidgets · django-jazzmin · rsconnect-python · brand-yml