ROGAN

Elements

Badges

Badges scale to match the size of the immediate parent element by using relative font sizing and em units.

Example heading New


Example heading New


Example heading New


Example heading New


Example heading New

Example heading New
<h1>Example heading <spanclass="badge badge-secondary">New</span></h1><h2>Example heading <spanclass="badge badge-secondary">New</span></h2><h3>Example heading <spanclass="badge badge-secondary">New</span></h3><h4>Example heading <spanclass="badge badge-secondary">New</span></h4><h5>Example heading <spanclass="badge badge-secondary">New</span></h5><h6>Example heading <spanclass="badge badge-secondary">New</span></h6>

Badges can be used as part of links or buttons to provide a counter.

<buttontype="button"class="btn btn-primary">  Message <spanclass="badge badge-light">4</span></button>
Contextual variations
PrimarySecondarySuccessDangerWarningInfoLightDark
Pill badges
PrimarySecondarySuccessDangerWarningInfoLightDark