# NOT RUN {
if (interactive()) {
library(shiny)
library(shinydashboard)
shinyApp(
ui = dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody(
widgetUserBox(
title = "Nadia Carmichael",
subtitle = "lead Developer",
type = 2,
src = "https://adminlte.io/themes/AdminLTE/dist/img/user7-128x128.jpg",
color = "yellow",
"Some text here!",
footer = "The footer here!"
),
widgetUserBox(
title = "Alexander Pierce",
subtitle = "Founder & CEO",
type = NULL,
src = "https://adminlte.io/themes/AdminLTE/dist/img/user1-128x128.jpg",
color = "aqua-active",
closable = TRUE,
"Some text here!",
footer = "The footer here!"
),
widgetUserBox(
title = "Elizabeth Pierce",
subtitle = "Web Designer",
type = NULL,
src = "https://adminlte.io/themes/AdminLTE/dist/img/user3-128x128.jpg",
background = TRUE,
backgroundUrl = "https://images.pexels.com/photos/531880/pexels-photo-531880.jpeg?auto=compress&cs=tinysrgb&h=350",
closable = TRUE,
"Some text here!",
footer = "The footer here!"
)
),
title = "widgetUserBox"
),
server = function(input, output) { }
)
}
# }
Run the code above in your browser using DataLab