Skip to contents

One app holding every component, filled with KIT examples. The source is in system.file("examples/gallery", package = "kitDesign").

Usage

kit_gallery(..., brand = NULL)

Arguments

...

Arguments passed to shiny::runApp() (e.g. port = 7551, launch.browser = FALSE).

brand

Which brand to view: NULL (default) is the current brand (kit_current_brand(), usually KIT); "demo" is a blue demo brand (to see how a different brand looks); or a kit_brand().

Value

The result of shiny::runApp() (when the app closes).

Examples

if (interactive()) kit_gallery()
if (interactive()) kit_gallery(brand = "demo")