Produkt-Galerie — component.product-gallery
Thumbnail-Spalte + Hauptbild — Controller wechselt das Hauptbild beim Thumbnail-Klick; ohne Bilder rendern Platzhalter-Flächen 1.3: feste Texte mehrsprachig (invisible_i18n).
Componentv1.3.1Commerceweb.documentweb.applicationbuilder.preview
Beispiele
Ohne Bilder: Platzhalter-Flächen (Thumbnail-Klick wechselt die Auswahl)
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
images | array | [] |
source | string: props | slots | "props" |
navigation | boolean | false |
placeholder | number | 4 |
padding | string: standard | none | sm | md | lg | xl | "standard" |
margin | string: standard | none | sm | md | lg | xl | "standard" |
border | string: standard | none | hairline | strong | "standard" |
radius | string: standard | none | control | surface | pill | "standard" |
textColor | string | "" |
backgroundColor | string | "" |
shadow | string: standard | none | sm | md | lg | "standard" |
width | string: standard | full | "standard" |
alignSelf | string: standard | start | center | end | "standard" |
anchor | string | "" |
Events & Slots
Events: change
Slot main: akzeptiert ui.*, component.*
Slot thumbs: akzeptiert ui.*, component.*, layout.*
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--product-gallery-border-default | var(--color-border-default) |
--product-gallery-radius-control | var(--radius-control) |
--product-gallery-radius-surface | var(--radius-surface) |
--product-gallery-surface-sunken | var(--color-surface-sunken) |
--product-gallery-text-default | var(--color-text-default) |
Genutzte Design-Tokens
border.hairline color.action.primary color.border.default color.border.subtle color.surface.default color.surface.sunken color.text.default duration.fast easing.standard elevation.overlay focus.ring-color focus.ring-width radius.control radius.surface size.16 size.3 text.xs weight.semibold