Components · Status · E-commerce

Badge Purchase Info

A purchase info badge is a badge with a beak that introduces a short purchase tip.

Tokens, sizes and requirements. Values come from the live token package and from Figma: Good buy, Good to know.

Design Tokens

Resolved from the live token package.

VariantPartTokenValue

Figma uses the color primitive system/dark_red (#d90000) for Good buy. It has the same value as surface-danger-default, which is used here.


Measurements

Dimensions

Padding of the label, at true size. Window follows the window width; Desktop (769px and up) and Mobile force the breakpoint.

Breakpoint
Padding of the label at true size (1:1). Switch the breakpoint to see the mobile values.
PartDesktop (769px and up)Mobile
Label padding4px 3px 4px 5px3px 4px
Label type14/14, 0.56px12/12, 0.48px
Beak10 × 22px, as high as the label8 × 18px
Gap badge to text8px (space-8)8px
Textbody-sm 14/20, 0.36px14/20, 0.28px

Spacing

PartValue
Gap badge to textspace-8
Label paddingFigma values: 5px, 4px, 3px (no tokens)

Typography

PartValue
LabelBreuer Condensed Bold (600), uppercase, label-sm; 14/14 desktop, 12/12 mobile
TextBreuer Condensed Regular, body-sm 14/20, text-secondary
Links in the textUnderlined, same color as the text
Feature settings'ss02' 1, 'ss03' 1 (text also 'ss06' 1)

States

The badge has no interaction states. Links in the text have the states of an inline link.


Behavior

TopicRule
InteractionNone on the badge. Links in the text are normal links.
WrappingThe text wraps beside the badge; the badge keeps its size.
BeakAlways points right, to the text.

Accessibility Requirements

TopicRequirement
NameLabel and text, read in order. The beak is decorative (empty).
ColorNot the only carrier of meaning: the label says “Bra köp” or “Bra att veta”.
ContrastWhite on red or on surface-50 (#737373, 4.7:1). Text text-secondary on white.
LinksUnderlined, keyboard reachable, visible focus.