icon: Create Semantic UI icon tag (alias for 'icon' for...

Description Usage Arguments Examples

View source: R/menu_item.R

Description

This creates an icon tag using Semantic UI styles.

Usage

1

Arguments

type

A name of an icon. Look at http://semantic-ui.com/elements/icon.html for all possibilities.

...

Other arguments to be added as attributes of the tag (e.g. style, class etc.)

Examples

1
icon("dog")

Example output

Attaching package:semantic.dashboardThe following object is masked frompackage:graphics:

    box

<i class="dog icon"></i>

semantic.dashboard documentation built on Jan. 16, 2021, 5:28 p.m.