Token

Token is a compact representation of an object, and is typically used to show a collection of related metadata.

Page navigation navigation

Token

React examples

Default

token

With a button to remove the token

token (press backspace or delete to remove)

Interactive

Interactivity guidelines

Custom size

Use consistent token sizes to maintain visual hierarchy. Avoid using multiple sizes in a single group.

smallmediumlargexlarge

With a leading visual

token

Issue label token

React
readyNot reviewed for a11y
Figma

The IssueLabelToken component is used to render GitHub issue labels.

It has all of the same functionality as a Token except:

  • it accepts a fillColor prop to set a color for the token
  • it does not accept a leadingVisual prop

React examples

Default

good first issue

Custom color

good first issue

Props

Loading data for token...