GNWT Base Theme Style Guide

4.12 components.label Label

Toggle example guides Toggle HTML markup

A Label is used to identify text inline as being a part of a universal language across the site. Labels are commonly used for tags.

Examples
Default styling
Tag Text
.label--primary
Primary label
Tag Text
.label--highlight
Highlight label
Tag Text
Markup: components/label/label.twig
<span class="label {{modifier_class}}">Tag Text</span>
Source: sass/components/label/_label.scss, line 1