Label

Label

Default Primary Success Warning Danger Info

Tag

To create a label tag, add the .label-tag class to the .label.

Default Primary Success Warning Danger Info

Pill

To create a label pill, add the .label-pill class to the .label.

Default Primary Success Warning Danger Info

Header

Labels scale to match the size of the immediate parent element.

Example heading New

Example heading New

Example heading New

Example heading New

Example heading New
Example heading New

Images

A label can contain an image — just place an <img> with the .label-image class within the label. The image can be positioned left or right by adding .left or .right to the .label-image.

Note: The image will automatically scale to fit the label's height.

John Robert Michelle Timothy Denise John

Outline

To make a .label outline, add the .label-outline class.

Default Primary Michelle Warning Danger John

Corner

A corner label must be positioned inside a container with position: relative to display properly. If a container is rounded you will need to add overflow:hidden to the container to produce a rounded label.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Ribbon

A ribbon label must be positioned inside a container with position: relative to display properly.
Like! Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Starred Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Uploaded!