Skip to contents

This creates an icon tag using Semantic UI styles.

Usage

icon(type, ...)

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

icon("dog")
#> <i class="dog icon"></i>