material_badge: Create a badge

Description Usage Arguments Examples

Description

UI content that can be placed everywhere

Usage

1
2
material_badge(content = NULL, type = NULL, color = NULL,
  custom_caption = FALSE)

Arguments

content

Badge content.

type

Badge type. NULL by default, can be set as "new".

color

Badge color. NULL by default. Visit http://materializecss.com/color.html for a list of available colors.

custom_caption

Whether to enable custom captions or not. FALSE by default.

Examples

1
2
3
4
material_badge(
 content = "1",
 type = "new"
)

DivadNojnarg/shinymaterialPlus documentation built on May 10, 2019, 9:28 a.m.