Invisible Docs
GalerieTokens

Preis — ui.price

Shop-Preiszeile: Betrag (bei Streichpreis automatisch in Sale-Farbe), Streichpreis, Rabatt-Badge — Sale-Ton über den themebaren color.sale-Token

UI Elementv1.0.3Commerceweb.documentweb.applicationbuilder.preview

Beispiele

Sale-Preis mit UVP und Rabatt-Badge

9,49 €24,99 €-62%

Normalpreis

24,99 €

Eigenschaften

PropTypDefault
amount *string—
originalAmountstring""
discountstring""
sizestring: md | lg"lg"
paddingstring: standard | none | sm | md | lg | xl"standard"
marginstring: standard | none | sm | md | lg | xl"standard"
borderstring: standard | none | hairline | strong"standard"
radiusstring: standard | none | control | surface | pill"standard"
textColorstring""
backgroundColorstring""
shadowstring: standard | none | sm | md | lg"standard"
widthstring: standard | full"standard"
alignSelfstring: standard | start | center | end"standard"
anchorstring""

Stellschrauben (Komponenten-Tokens)

TokenDefault
--price-radius-smvar(--radius-sm)
--price-salevar(--color-sale)
--price-surface-pagevar(--color-surface-page)
--price-text-defaultvar(--color-text-default)
--price-text-mutedvar(--color-text-muted)

Genutzte Design-Tokens

color.sale color.surface.page color.text.default color.text.muted font.family.default radius.sm size.05 size.1 text.3xl text.sm text.xl text.xs weight.bold weight.semibold