Skip to main content

layout and content

Label

A label is a visual indicator used to highlight an item's status or communicate non-actionable, supplemental information.

Image alt

Takeaways

  • Labels are most commonly used for order-related information, such as to indicate different order types and communicate success or failure status.
  • Use medium-sized labels by default, and reserve the smaller variation for dense components or spaces.

Types

Labels have different types to communicate different statuses and types. They also come in three sizes for different use cases.

Image alt

TypePurpose
DefaultUse to communicate general, non-critical status information.
SuccessUse to communicate positive or success status, such as order completed. It's also used for payment-related information (e.g. cash payment or commission payment).
FailureUse to communicate critical or failure status, such as order cancelled.
PickupUse exclusively to identify Pickup orders.
BrandedUse to communicate general status and types, such as test orders or optional order items.

Sizes

Image alt

SizePurpose
SmallUse inside dense components where space is limited, such as order tiles or lists.
MediumStandard label size for general use.
LargeUse when it's important to bring extra attention to a label.

Icon only

You can also display an icon instead of text when appropriate. This variation only supports default-style colors and should be used sparingly, as icons often don't provide the same clarity as text.

Image alt