Learn R Programming

shiny.blueprint

Palantir's Blueprint for Shiny Apps

Why shiny.blueprint?

We believe that a great UI plays a huge role in the success of application projects. shiny.blueprint gives your apps:

  • a beautiful, professional look;
  • a rich set of components easily usable in Shiny;
  • fast speed of development that Shiny is famous for.

To see shiny.blueprint in action check out the Blueprint Showcase app with all the available components and R usage examples.

Installation

Stable version:

install.packages("shiny.blueprint", dependencies = TRUE)

Development version:

remotes::install_github("Appsilon/shiny.blueprint", dependencies = TRUE)

With dependencies = TRUE the suggested packages (required to run some examples) will be installed in addition to mandatory dependencies.

Quick start

Here's how to create a basic shiny.blueprint app:

library(shiny)
library(shiny.blueprint)

shinyApp(
  ui = tagList(
    Switch.shinyInput(
      inputId = "animate",
      value = TRUE,
      label = "Animate"
    ),
    reactOutput("progress")
  ),
  server = function(input, output) {
    output$progress <- renderReact({
      ProgressBar(animate = input$animate)
    })
  }
)

The majority of Blueprint components are available in shiny.blueprint. Start typing shiny.blueprint:: in RStudio to see all available components. Visit the Blueprint docs to see what arguments (props) can be passed to the components.

Examples

All components have usage examples in R. Type ?shiny.blueprint::ComponentName to see the code or shiny.blueprint::runExample("ExampleName") to launch it. Run this function without arguments to see a list of all available examples.

A showcase application with all components can be launched with shiny.blueprint::runExample("showcase") or by visiting this link.

Appsilon

Appsilon is a Posit (formerly RStudio) Full Service Certified Partner. Learn more at appsilon.com.

Get in touch opensource@appsilon.com

Explore the Rhinoverse - a family of R packages built around Rhino!

Copy Link

Version

Install

install.packages('shiny.blueprint')

Monthly Downloads

258

Version

0.3.0

License

LGPL-3

Maintainer

Jakub Sobolewski

Last Published

May 21st, 2024

Functions in shiny.blueprint (0.3.0)

Navbar

Navbar
NumericInput

NumericInput
MultiSelect

MultiSelect
Menu

Menu
Suggest

Suggest
Switch

Switch
ProgressBar

Progress bar
Popover

Popover
OverflowList

Overflow list
TextArea

Text area
Slider

Slider
PanelStack

Panel stack
Overlay

Overlay
Spinner

Spinner
ResizeSensor

Resize sensor
Text

Text
Select

Select
TagInput

TagInput
Tag

Tag
NonIdealState

Non-ideal state
component

Documentation template
Divider

Divider
Tabs

Tabs
Tree

Tree
Toaster

Toaster
htmlElements

HTML elements
runExample

Run example
reexports

Objects exported from other packages
Drawer

Drawer
MultistepDialog

Multistep dialog
MultiSlider

Multi slider
Radio

Radio
RangeSlider

Range slider
ControlGroup

Control group
Card

Card
Checkbox

Checkbox
Dialog

Dialog
Button

Button
ButtonGroup

Button group
Callout

Callout
Breadcrumbs

Breadcrumbs
Collapse

Collapse
Alert

Alert
EditableText

Editable text
Icon

Icon
HTMLTable

HTML table
Label

Label
InputGroup

Input group
FormGroup

Form group
FileInput

FileInput
HTMLSelect

HTML select