Skip to content
Back to skills

Shinydashboard

ASecurity

R shinydashboard package for dashboard layouts. Use for admin-style dashboards with sidebar and boxes.

  • 5 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added June 5, 2026
datadatabase

Security analysis

A100/100

Scanned June 5, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill shinydashboard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shinydashboard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shinydashboard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-shinydashboard/badge)](https://www.skillsdirectory.com/skills/leolin990405-shinydashboard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shinydashboard
description: R shinydashboard package for dashboard layouts. Use for admin-style dashboards with sidebar and boxes.
---

# shinydashboard Package

Dashboard layouts for Shiny.

## Basic Structure

```r
library(shiny)
library(shinydashboard)

ui <- dashboardPage(
  dashboardHeader(title = "My Dashboard"),
  dashboardSidebar(
    sidebarMenu(
      menuItem("Dashboard", tabName = "dashboard", icon = icon("dashboard")),
      menuItem("Reports", tabName = "reports", icon = icon("file"))
    )
  ),
  dashboardBody(
    tabItems(
      tabItem(tabName = "dashboard",
        # Content
      ),
      tabItem(tabName = "reports",
        # Content
      )
    )
  )
)
```

## Boxes

```r
dashboardBody(
  fluidRow(
    box(title = "Box 1", status = "primary", solidHeader = TRUE,
      "Content here"
    ),
    box(title = "Box 2", status = "warning", collapsible = TRUE,
      plotOutput("plot")
    )
  )
)

# Status: primary, success, info, warning, danger
```

## Value Boxes

```r
fluidRow(
  valueBox(100, "New Orders", icon = icon("shopping-cart"), color = "green"),
  valueBox(50, "Users", icon = icon("users"), color = "blue"),
  valueBoxOutput("dynamicBox")
)

# Server
output$dynamicBox <- renderValueBox({
  valueBox(nrow(data), "Records", icon = icon("database"))
})
```

## Info Boxes

```r
fluidRow(
  infoBox("Revenue", "$10,000", icon = icon("dollar"), color = "green"),
  infoBoxOutput("dynamicInfo")
)
```

## Sidebar

```r
dashboardSidebar(
  sidebarMenu(
    menuItem("Home", tabName = "home", icon = icon("home")),
    menuItem("Analysis", icon = icon("chart-bar"),
      menuSubItem("Charts", tabName = "charts"),
      menuSubItem("Tables", tabName = "tables")
    )
  ),
  # Inputs in sidebar
  selectInput("dataset", "Dataset", choices = c("mtcars", "iris"))
)
```

## Notifications

```r
dropdownMenu(type = "notifications",
  notificationItem(text = "5 new users", icon = icon("users")),
  notificationItem(text = "Server load 80%", icon = icon("server"), status = "warning")
)
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.