Packaged Examples

Overview

bs4Dashkit ships with three runnable example apps under inst/examples/. These are useful for smoke testing, regression checks, and quick reference when you want to compare package behavior against a known working app.

Included examples

Real Shiny App

The main interactive playground for sidebar brand modes, navbar title alignment, theme presets, footer styling, and live brand controls.

shiny::runApp(system.file("examples", "real-shiny-app", package = "bs4Dashkit"))

Source file:

file.show(system.file("examples", "real-shiny-app", "app.R", package = "bs4Dashkit"))

Test All

A heavier end-to-end example that exercises the package more aggressively: centered navbar titles, collapsed text-only branding, icon-only branding, collapsed and expanded text size / weight controls, theme presets, alerts, badges, and footer styling.

shiny::runApp(system.file("examples", "test-all", package = "bs4Dashkit"))

Source file:

file.show(system.file("examples", "test-all", "app.R", package = "bs4Dashkit"))

When to use which