PriceTag
ImplementedFormatted price — locale-aware currency display. Sizes: sm/md/lg. Variants: default / strikethrough / from-prefix.
patterns/atoms/pricetag.htmlMonetary amount with currency-aware formatting. FR-CA: Prix formaté multidevise.
PriceTag
Display atom (Family 2 — Tier 1, placeholder)
Tier-1 placeholder. Production component ships in DS-313.
This component supports light and dark mode.
Status
Tier-1 placeholder. Production ships in DS-313.
Intended API
import { PriceTag } from '@epasslive/design-system'
<PriceTag amount={49.99} currency="CAD" locale="fr-CA" />
<PriceTag amount={49.99} currency="CAD" compareAt={69.99} />Accessibility
The wrapper renders role="group" with an explicit French aria-label ("Prix 49,99 $ CA").
Props
amountnumber49.99Numeric amount.
currency'CAD' | 'USD' | 'EUR'CADISO currency code.
localestringfr-CABCP-47 locale string.
weight'light' | 'regular' | 'bold'regularNumeric weight.
compareAtnumberOptional compareAt price; renders as strike-through.
ariaLabelstringOverride the announced label.
Props
PriceTag
amountnumber—>=0
currencystring—ISO 4217, 3 chars
localestring'en-CA'Locale used for formatting and translated strings.
size"sm" | "md" | "lg"'md'Visual size preset.
variant"default" | "strikethrough" | "from-prefix"'default'Visual variant.
<PriceTag />Accessibility
Type
1 ruleARIA
1 ruleUsage
Import
import { PriceTag } from "@epasslive/design-system"Example 1
<PriceTag />Example 2
<PriceTag variant="default" />Anti-patterns
— Do not compose atoms directly — use molecules instead
— Avoid inline styles on atoms