Skip to main content

Badge

Overview

A Badge draws attention to assigned features of a product, such as "New", "Trending".

Attributes

type

type: literal = 'new' | 'sale' | 'lowStock' | 'trending' | 'bestSeller'


Affects the styling and color of the badge

text

type: string


The text value of displayed on the storefront

Examples Values: "New", "Sale", "Best Seller"