Kaufbox — component.purchase-box
Kauf- und Statusbox für Produktseiten: Status, Titel, großer Preis mit Zeitraum und Hinweis, Aktionen (Slot), Paket- bzw. Lizenzzuordnung als Häkchen/Kreuz, Highlights als Liste, Fußnote. Glasfläche mit Akzentlinie in der Bereichsfarbe; Kleben übernimmt die Seitenspalte (z. B. template.app.storefron
Beispiele
Installiert, kostenlos
Ihre App
InstalliertKostenlos
in tricoma integriert
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
title | string | "" |
price | string | "" |
pricePeriod | string | "" |
priceNote | string | "" |
priceEmphasis | string: none | free | "none" |
status | string: none | installed | purchased | update | pending | "none" |
statusLabel | string | "" |
featuresTitle | string | "Enthalten in" |
features | array | — |
featuresAppearance | string: list | compare | "list" |
currentLabel | string | "Ihr Paket" |
highlightsTitle | string | "Highlights" |
highlights | array | — |
note | string | "" |
tone | string: primary | accent | success | warning | danger | info | neutral | series-1 | series-2 | series-3 | series-4 | series-5 | series-6 | series-7 | series-8 | "primary" |
Events & Slots
Slot actions: akzeptiert ui.*, component.*, layout.*
Slot footer: akzeptiert ui.*, component.*, layout.*
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--purchase-tone | var(--color-action-primary) |
--purchase-surface-top | color-mix(in srgb, var(--color-surface-raised) 96%, transparent) |
--purchase-surface-bottom | color-mix(in srgb, var(--color-surface-default) 90%, transparent) |
--purchase-border | color-mix(in srgb, var(--color-border-default) 70%, transparent) |
--purchase-muted | var(--color-text-muted) |
--purchase-free | color-mix(in srgb, var(--color-status-success) 55%, var(--color-text-default)) |
Genutzte Design-Tokens
border.hairline color.accent color.action.primary color.border.default color.chart.1 color.chart.2 color.chart.3 color.chart.4 color.chart.5 color.chart.6 color.chart.7 color.chart.8 color.status.danger color.status.info color.status.success color.status.warning color.surface.default color.surface.raised color.text.default color.text.muted elevation.raised font.family.default font.family.display leading.base leading.tight radius.control radius.full size.05 size.1 size.2 size.20 size.3 size.4 size.5 size.6 text.2xs text.4xl text.md text.sm text.xs tracking.tight tracking.wide weight.bold weight.medium weight.semibold