Run a bundled shadshiny example app
Arguments
- example
Example app directory name under
inst/examples. One of:"kitchen-sink"(default) the full R-built demo of every component.
"00-static-parity"hand-written anatomy reference, for visual parity checks.
"01-auth-onboarding"sign-in / create-account flow with a 4-step onboarding wizard, 2FA (input-OTP) and social sign-in.
"02-analytics-dashboard"admin console: sidebar, menubar, command palette, KPI cards, resizable chart split and a searchable team directory.
"03-support-chat"support inbox with a stick-to-bottom transcript, quick replies, attachment popover and a simulated assistant.
"04-storefront"product page: carousel, variant pickers, add-to-cart sheet, tabbed details and reviews pagination.
"05-settings-profile"account settings with live theming, availability checks, 2FA and destructive alert-dialogs.
"06-docs-reader"documentation site: sidebar nav, Cmd+K search, resizable article/TOC split, rich typography and tabbed code examples.
"07-data-explorer"shad_data_table()with KPI value boxes and theme-following plots."08-llm-chat"streaming
shad_chat_server(); swap the handler for an ellmer stream to go live (experimental)."09-app-shell"shad_page_sidebar()with the layout primitives, sparklines, a Cmd+K palette that drives navigation, and dialogs built in the server.
The numbered apps are real-world examples that together exercise the whole component library.
See also
Other shadshiny utilities:
shad_icon(),
shad_icon_names(),
shad_icon_raw(),
shadshiny_deps()
Examples
# The bundled apps:
list.files(system.file("examples", package = "shadshiny"))
#> [1] "00-static-parity" "01-auth-onboarding" "02-analytics-dashboard"
#> [4] "03-support-chat" "04-storefront" "05-settings-profile"
#> [7] "06-docs-reader" "07-data-explorer" "08-llm-chat"
#> [10] "09-app-shell" "kitchen-sink"
if (interactive()) {
shad_run_example("07-data-explorer")
}