Palantir’s Blueprint for Shiny Apps
shiny.blueprint
?We believe that a great UI plays a huge role in the success of application projects. shiny.blueprint gives your apps:
Stable version:
install.packages("shiny.blueprint", dependencies = TRUE)
Development version:
::install_github("Appsilon/shiny.blueprint", dependencies = TRUE) remotes
With dependencies = TRUE
the suggested packages
(required to run some examples) will be installed in addition to
mandatory dependencies.
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) {
$progress <- renderReact({
outputProgressBar(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.
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.
Developed with :heart: at Appsilon. Get in touch: opensource@appsilon.com.
Appsilon is a Full Service Certified Posit Partner.