Badges

Component checklist

Status

The status of the component

Ready for use!

Figma component

A link to the Figma library where the component lives.

Repository

A link to the repo where the component lives.

Usage


Generally, there is no need to build landing pages to match the breadcrumbs.

Ensure colors are accessible

Do
Accessible badge colours and text.

Use the Figma component settings (or alias tokens) to ensure badge color combinations are accessible.

Don't
Not accessible badge colours and text.

Don’t use non-accessible color combinations.

Use preset semantic colors

Do
Badges using preset colours.

Use the predefined color styles (or tokens) for badges.

Don't
Badges with adjusted colours.

Avoid altering the predefined colors styles.

Use consistent styles from the semantic palette

Do
All 3 badges using the same semantic pallete.

Use the same style for all badges in the same layout.

Don't
Badges using mixed semantic palettes.

Avoid mixing bold and subtle styles.

Avoid making badges interactive

Do

                                                                                                                                                                                                                                                                                                                  Badges stating 'featured' and 'mail'.

Use badges for informational purposes.

Don't
Badges stating 'filter' and 'add'.

Avoid using badges as interactive elements. Instead use tags for interaction purposes.

Avoid using icon-only badges

Do
Badges with icon+label.

Include text labels even when also using an icon.

Don't
Badges with icons only.

Avoid using only icons on a badge as the user will lose context.