uilist {shiny.semantic}R Documentation

Create Semantic UI list with header, description and icons

Description

This creates a list with icons using Semantic UI

Usage

uilist(data, icon, is_divided = FALSE, is_description = FALSE)

Arguments

data

A dataframe with columns 'header' and/or 'description' containing the list items headers and descriptions. 'description' column is optional and should be provided if 'is_description' parameter TRUE.

icon

A string with icon name. Empty string will render list without icons.

is_divided

If TRUE created list elements are divided

is_description

If TRUE created list will have a description

Examples


list_content <- data.frame(
  header = paste("Header", 1:5),
  description = paste("Description", 1:5),
  stringsAsFactors = FALSE
)

# Create a 5 element divided list with alert icons and description
uilist(list_content, "alert", is_divided = TRUE, is_description = TRUE)

[Package shiny.semantic version 0.2.1 Index]