Shop: Mini-Warenkorb — component.shop-mini-cart
Warenkorb-Schublade für die Website: zeigt die Warenkorb-Vorschau des Shop-Moduls (Positionen, Zwischensumme, Zum Warenkorb) in component.drawer, setzt den Zähler am gebundenen Auslöser (z. B. Navigation iconActions.trigger) und legt Artikel aus Kaufformularen ohne Seitenwechsel ab – die Antwort des
Beispiele
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
title | string | "Warenkorb" |
trigger | string | "mini-cart" |
count | string | "0" |
subtotalLabel | string | "Zwischensumme" |
subtotal | string | "" |
note | string | "" |
cartUrl | string | "" |
cartLabel | string | "Zum Warenkorb" |
checkoutUrl | string | "" |
checkoutLabel | string | "Zur Kasse" |
emptyTitle | string | "" |
updateUrl | string | "" |
updateSubmitName | string | "submit_aktualisieren" |
updateLabel | string | "Aktualisieren" |
expressLabel | string | "oder direkt bezahlen mit" |
continueLabel | string | "Weiter einkaufen" |
emptyText | string | "Dein Warenkorb ist noch leer." |
catalogUrl | string | "" |
catalogLabel | string | "Produkte entdecken" |
Events & Slots
Slot items: akzeptiert ui.*, component.*, layout.*
Slot express: akzeptiert ui.*, component.*, layout.*
Genutzte Design-Tokens
border.hairline color.action.primary color.border.default color.border.subtle color.status.danger color.status.success color.status.success-surface color.status.warning color.status.warning-surface color.surface.default color.surface.sunken color.text.default color.text.muted duration.base duration.fast duration.slow easing.out easing.standard elevation.raised focus.ring-color focus.ring-offset focus.ring-width leading.base leading.tight radius.control radius.full radius.surface size.1 size.10 size.12 size.2 size.3 size.4 size.5 size.6 size.8 text.2xl text.lg text.md text.sm text.xs weight.bold weight.semibold