Availability badges

Availability badges are mainly used to show the availability status of articles in both online store and in retail store. They are usually positioned on product tiles and on the product detail page.
If there is a need to display retail store availability on a map then use store-locator-pins.


Versions#

  • There exist 5 availability badge versions for online and retail store.
TypeIn stockLow stockOut of stockNo dataInfo
online storein stocklow stockout of stock-soon available
retail storein stocklow stockout of stockno data availablealso in retail
from date in retail

Usage rules#

  • Don't show more than two badges on product tile or product detail page.
  • The availability badges are displayed side by side on one line.
  • The order of the availability badges starts with the retail store badge, followed by the online store badge.
  • If the content inside the badges is too big for the space available, the badges are then placed right-aligned one below the other.
  • If text inside the badge is too large for the space available within the product tile, it breaks into two lines.

Overall styling#

  • The text-style is small.
  • The line-height is set to 120%.
  • The text-color is always gray-darker.
  • It always has 12px rounded corners and this includes the case when the badge has two lines of text.

Online store#

TitleIn stockLow stockOut of stockInfo
Previewin stocklow stockout of stocksoon available
Attributesbackground: success-lighter
dot: success-base
background: mark-light
dot: mark-darker
background: danger-lighter
dot: danger-dark
background: gray-lighter

Retail store#

TitleIn stockLow stockOut of stockNo dataInfo
Previewin stocklow stockout of stockno data availablealso in retail
also in retail
Attributesbackground: success-lighter
dot: success-base
background: mark-light
dot: mark-darker
background: danger-lighter
dot: danger-dark
background: gray-lighter
dot: gray-base
background: gray-lighter

Spacing & measurements#

Online store#

TypesAttributes Preview
vertical spacingicon and text are vertically centeredvertical-spacing
horizontal spacingpadding: 8pxhorizontal-spacing
dotsize: 12x12pxhorizontal-spacing

Retail store#

TypeAttributes Preview
vertical spacingicon and text are vertically centeredvertical-spacing
horizontal spacingpadding: 8pxhorizontal-spacing
dotsize: 12x12pxhorizontal-spacing

Two lines of text#

  • Icon size and horizontal spacings remain the same as in badges with one line of text, only the vertical spacings change.
TypeBehavior Preview
vertical spacingicon remains in the same place as in the one-line badge and text is vertically centered within the badge shapevertical-spacing

Distances between availability badges and their surroundings#

  • Availability badges have horizontally and vertically 8px paddings between themselves, and 16px distance to all other objects or edges around them.
TypePreview
distances when badges are next to each otherdistances-horizontal
distances when badges are below each otherdistances-vertical

Change log#

2.6.0 App - 2022-03-21#

Added#

  • Doc: "Availability badge" | Added soon available badge for online store

Fixed#

  • Sketch: "Availability badge" | Fixed resizing issue after Sketch update

2.4.0 App - 2022-02-10#

Highlights#

  • Sketch, Doc: "Availability badge" | Updated info badges and added no-data badges