Article Image
Article Image
read

Semantic dashboard is on!

Are you fed up with ordinary shinydashboard look?

Give your app a new life with Semantic UI support. It cannot be any easier! Install semantic.dashboard and load it instead to your app. It’s compatible with classical shinydashboard! You don’t have to start from scratch:

#########################
library(shinydashboard) # <-- You want to change it to: library(semantic.dashboard)
#########################
ui <- dashboardPage(
  dashboardHeader(title = "Basic dashboard"),
  dashboardSidebar(sidebarMenu(
      menuItem(tabName = "home", text = "Home", icon = icon("home")),
      menuItem(tabName = "another", text = "Another Tab", icon = icon("heart"))
  )),
  dashboardBody(
    fluidRow(
      box(plotOutput("plot1", height = 250)),
      box(
        title = "Controls",
        sliderInput("slider", "Number of observations:", 1, 100, 50)
      )
    )
  )
)

server <- function(input, output) {
  set.seed(122)
  histdata <- rnorm(500)
  output$plot1 <- renderPlot({
    data <- histdata[seq_len(input$slider)]
    hist(data)
  })
}

shinyApp(ui, server)

We thrive to deliver the most awesome shiny apps for our clients. In the past we had to get through limitations of ordinary shiny dashboards. Couple months back we decided that it’s time to make the next step. We created our own dashboard package with full integration of Semantic UI.

semantic.dashboard offers basic functions for creating dashboard but not only. You can select from many Semantic UI Themes and easily adjust the look of your dashboard.

For specific installation guidelines and more examples visit dashboard’s Github page, or simply install version 0.1.1 from CRAN and check documentation:

install.packages("semantic.dashboard")

semantic.dashboard engine is based on our other successful package shiny.semantic. It helps you introduce semantic elements to all kinds of shiny apps. You might want to check it out as well here or get familiar with the whole family of our open source projects. semantic.dashboard is a next step of our mission to make shiny apps awesome!

Unleash your imagination and let us know what have you achieved!

Follow Appsilon Data Science

Blog Logo

Dominik Krzemiński


Published

Image

Appsilon Data Science Blog

Our secrets.

Back to the top