Skip to content
Back to skills

Flexdashboard

ASecurity

R flexdashboard package for R Markdown dashboards. Use for creating interactive dashboards with R Markdown.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 5, 2026
data

Security analysis

A100/100

Scanned June 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Flexdashboard?

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

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

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: flexdashboard
description: R flexdashboard package for R Markdown dashboards. Use for creating interactive dashboards with R Markdown.
---

# flexdashboard

Easy interactive dashboards for R.

## Basic Dashboard

```yaml
---
title: "My Dashboard"
output: flexdashboard::flex_dashboard
---
```

## Layout

```markdown
Column {data-width=650}
-----------------------------------------------------------------------

### Chart A

```{r}
plot(cars)
```

Column {data-width=350}
-----------------------------------------------------------------------

### Chart B

```{r}
hist(mtcars$mpg)
```

### Chart C

```{r}
summary(mtcars)
```
```

## Rows Layout

```yaml
---
title: "Row Layout"
output:
  flexdashboard::flex_dashboard:
    orientation: rows
---
```

## Pages

```markdown
Page 1
=====================================

### Chart

```{r}
```

Page 2
=====================================

### Another Chart

```{r}
```
```

## Value Boxes

```r
library(flexdashboard)

valueBox(42, icon = "fa-users", caption = "Users")
valueBox(100, icon = "fa-dollar", color = "success")
valueBox(50, icon = "fa-warning", color = "warning")
```

## Gauges

```r
gauge(42, min = 0, max = 100, symbol = '%',
  gaugeSectors(
    success = c(80, 100),
    warning = c(40, 79),
    danger = c(0, 39)
  ))
```

## With Shiny

```yaml
---
title: "Shiny Dashboard"
output: flexdashboard::flex_dashboard
runtime: shiny
---
```

```r
# Input
selectInput("var", "Variable:", choices = names(mtcars))

# Output
renderPlot({
  hist(mtcars[[input$var]])
})
```

## Sidebar

```markdown
Sidebar {.sidebar}
-----------------------------------------------------------------------

```{r}
selectInput("x", "X Variable:", choices = names(mtcars))
```

Column
-----------------------------------------------------------------------

### Plot

```{r}
renderPlot({
  plot(mtcars[[input$x]])
})
```
```

## Themes

```yaml
---
output:
  flexdashboard::flex_dashboard:
    theme: cosmo
    # Options: default, cosmo, bootstrap, cerulean, journal, flatly, readable, spacelab, united, lumen, paper, sandstone, simplex, yeti
---
```

## Storyboard

```yaml
---
output:
  flexdashboard::flex_dashboard:
    storyboard: true
---
```

```markdown
### Frame 1 {data-commentary-width=400}

```{r}
plot(cars)
```

***

Commentary for frame 1.

### Frame 2

```{r}
hist(mtcars$mpg)
```
```

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.