UI Components

Badges

Badges can be used to display small pieces of information.

The badge component is an optional mixin within Fozzie — if you'd like to use it in your project you can include it by adding @include badge(); into your SCSS dependencies file.

Default Badge – .c-badge

Example

Default
<span class="c-badge">Default</span>

Rounded Badge – .c-badge c-badge--rounded

Example

Rounded
<span class="c-badge c-badge--rounded">Rounded</span>

Angled Badge – .c-badge c-badge--angled

Example

Angled
<span class="c-badge c-badge--angled">Angled</span>

Large Badge – .c-badge c-badge--large

Example

Large
<span class="c-badge c-badge--large">Large</span>

Transparent Badge – .c-badge c-badge--transparent

Example

Transparent badge
<span class="c-badge c-badge--transparent">Transparent <span></span> badge</span>

Light Badge – .c-badge c-badge--light

Example

Light badge
<span class="c-badge c-badge--light">Light <span></span> badge</span>

Light Badge with no padding– .c-badge c-badge--light c-badge--noPad

Example

Light badge
<span class="c-badge c-badge--light c-badge--noPad">Light <span></span> badge</span>

Info Badge – .c-badge c-badge--info

Example

Info
<span class="c-badge c-badge--info">Info</span>

Success Badge – .c-badge c-badge--success

Example

Success
<span class="c-badge c-badge--success">Success</span>

Warning Badge – .c-badge c-badge--warning

Example

Warning
<span class="c-badge c-badge--warning">Warning</span>

Alert Badge – .c-badge c-badge--alert

Example

Alert
<span class="c-badge c-badge--alert">Alert</span>

Important Badge – .c-badge c-badge--important

Example

Important
<span class="c-badge c-badge--important">Important</span>

Award Badge – .c-badge c-badge--award

Example

Award
<span class="c-badge c-badge--award">Award</span>

Rounded Badges

Example

Default Light Info Success Warning Alert Important Award
<span class="c-badge c-badge--rounded">Default</span>
<span class="c-badge c-badge--rounded c-badge--light">Light</span>
<span class="c-badge c-badge--rounded c-badge--info">Info</span>
<span class="c-badge c-badge--rounded c-badge--success">Success</span>
<span class="c-badge c-badge--rounded c-badge--warning">Warning</span>
<span class="c-badge c-badge--rounded c-badge--alert">Alert</span>
<span class="c-badge c-badge--rounded c-badge--important">Important</span>
<span class="c-badge c-badge--rounded c-badge--award">Award</span>

Angled Badges

Example

Default Light Info Success Warning Alert Important Award
<span class="c-badge c-badge--angled">Default</span>
<span class="c-badge c-badge--angled c-badge--light">Light</span>
<span class="c-badge c-badge--angled c-badge--info">Info</span>
<span class="c-badge c-badge--angled c-badge--success">Success</span>
<span class="c-badge c-badge--angled c-badge--warning">Warning</span>
<span class="c-badge c-badge--angled c-badge--alert">Alert</span>
<span class="c-badge c-badge--angled c-badge--important">Important</span>
<span class="c-badge c-badge--angled c-badge--award">Award</span>

Large Badges

Example

Default Light Info Success Warning Alert Important Award
<span class="c-badge c-badge--large">Default</span>
<span class="c-badge c-badge--large c-badge--light">Light</span>
<span class="c-badge c-badge--large c-badge--info">Info</span>
<span class="c-badge c-badge--large c-badge--success">Success</span>
<span class="c-badge c-badge--large c-badge--warning">Warning</span>
<span class="c-badge c-badge--large c-badge--alert">Alert</span>
<span class="c-badge c-badge--large c-badge--important">Important</span>
<span class="c-badge c-badge--large c-badge--award">Award</span>

Large Rounded Badges

Example

Default Light Info Success Warning Alert Important Award
<span class="c-badge c-badge--large c-badge--rounded">Default</span>
<span class="c-badge c-badge--large c-badge--rounded c-badge--light">Light</span>
<span class="c-badge c-badge--large c-badge--rounded c-badge--info">Info</span>
<span class="c-badge c-badge--large c-badge--rounded c-badge--success">Success</span>
<span class="c-badge c-badge--large c-badge--rounded c-badge--warning">Warning</span>
<span class="c-badge c-badge--large c-badge--rounded c-badge--alert">Alert</span>
<span class="c-badge c-badge--large c-badge--rounded c-badge--important">Important</span>
<span class="c-badge c-badge--large c-badge--rounded c-badge--award">Award</span>

Large Angled Badges

Example

Default Light Info Success Warning Alert Important Award
<span class="c-badge c-badge--large c-badge--angled">Default</span>
<span class="c-badge c-badge--large c-badge--angled c-badge--light">Light</span>
<span class="c-badge c-badge--large c-badge--angled c-badge--info">Info</span>
<span class="c-badge c-badge--large c-badge--angled c-badge--success">Success</span>
<span class="c-badge c-badge--large c-badge--angled c-badge--warning">Warning</span>
<span class="c-badge c-badge--large c-badge--angled c-badge--alert">Alert</span>
<span class="c-badge c-badge--large c-badge--angled c-badge--important">Important</span>
<span class="c-badge c-badge--large c-badge--angled c-badge--award">Award</span>