Skip to main content

Indicators

Usage

Definition

Indicators are labels which convey small amounts of information such as a status, in a variety of visual forms, and can use color to communicate meaning.

Indicators have either one or two states, and may have an optional tool tip. They are not used to navigate to additional content.

Common Characteristics

All indicators have ALL-CAPS labels, or an icon.

All indicators are single-state (show/hide), or two-state (on/off).

Single-State Indicators

Single-state indicators are displayed in the UI when relevant, and hidden when not.

Flags

Flags are best used for words, not acronyms, and do not have tooltips.

Flags can be displayed horizontally with content, or diagonally over content. Any single item may have up to two horizontal flags, and/or one diagonal flag.

icon badges Flags can be used horizontally or diagonally

Icon Badges

Icon badges are visually identical to icon text buttons, but the only interaction is to display a tooltip on hover or tap.

icon badges

Two-State Indicators

Two-state indicators have color when relevant, and gray when not.

Auction Lights

auction lights

Auctions lights have tooltips in both on and off states.

Task Indicators

Task indicators indicate whether a task is complete or incomplete.

task indicator

Task indicators have tooltips in both states.

Design

Single-State Indicators

ribbon flags

Ribbons

corner flags Corner Flags

icon badges Icon Badges

Two-State Indicators

auction Auction Lights

Documentation

Color

ClassProperty
.badge-primaryApplies primary button styles
.badge-dangerApplies danger button styles
.badge-danger-lightApplies danger-light button styles
.badge-secondaryApplies secondary button styles
.badge-secondary-lightApplies secondary-light button styles
.badge-smokeApplies smoke button styles
.badge-goldApplies gold button styles
.badge-successApplies success button styles

Code

Ribbon Flags

Live Editor
Result
Loading...

Corner Flags

Live Editor
Result
Loading...

Two-state Indicators

Auction Lights

Live Editor
Result
Loading...

Task

Live Editor
Result
Loading...

Indicator Props

NameTypeDefaultDescription
idstringnullSets a unique id for an indicator
namestringnullSets the inline label text for a task indicator
labelstringnullSets the label text for an indicator
typestringnullSets which type of indicator to use
tooltipstringnullSets the tooltip text for a task indicator
iconstringnullDisplays an icon next to the text for a task indicator