Configurator
<oc-media-object-card-v2 elevation-level="stacked" icon="order-return" style="width:min(100%,480px)"><a href="#" aria-label="oc-auto"></a><picture slot="img"><img alt="" style="margin:0;height:100%" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg"></picture><span slot="headline">Wohnzimmer</span><span slot="subline">Sofas, Tische und Leuchten</span><oc-action-signifier-v1 slot="action-signifier" label="Ansehen" variant="icon" hidden="hidden"></oc-action-signifier-v1></oc-media-object-card-v2>Usage
Anatomy
HTML
<div class="on-frame"><div style="max-width:400px;margin:0 auto">
<oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
</div>Variants
The media object card is available in the following sizes:
- 100
- 75
- 50
- 25
You can use the media object card with text only, an icon or an image . For the image you can place either an ambient or a cutout image.
You can also choose between the default and inverted variant of the media object card. The default variant has black text and a black icon. Meanwhile the inverted variant features white text and a white icon. The default and inverted background color can be freely overwritten. But make sure to meet sufficient contrast due to the accessibility standards.
You can optionally add an action signifier as text or icon to increase the affordability of the media object card.
HTML
<div class="on-frame" style="display:grid;grid-template-columns:1fr 1fr;gap:32px 24px;align-items:center">
<p class="demo-label">Size 100</p><oc-media-object-card-v2 size="100"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
<p class="demo-label">Size 75</p><oc-media-object-card-v2 size="75"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
<p class="demo-label">Size 50</p><oc-media-object-card-v2 size="50"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
<p class="demo-label">Size 25</p><oc-media-object-card-v2 size="25"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
HTML
<div class="on-frame" style="display:grid;grid-template-columns:1fr 1fr;gap:24px">
<p class="demo-label">Text only</p><oc-media-object-card-v2 variant="text-only"><a href="#" aria-label="oc-auto"></a><span slot="headline">Versand</span><span slot="subline">Kostenlos ab 29 €</span></oc-media-object-card-v2></div>
<p class="demo-label">Image ambient</p><oc-media-object-card-v2 variant="ambient-image" inverted><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Bis zu -30 %</span></oc-media-object-card-v2></div>
<p class="demo-label">Icon</p><oc-media-object-card-v2 variant="icon" icon="smiley-happy"><a href="#" aria-label="oc-auto"></a><span slot="headline">Kundenservice</span><span slot="subline">Wir helfen dir gern</span></oc-media-object-card-v2></div>
<p class="demo-label">Image cutout</p><oc-media-object-card-v2 variant="cut-out-image" inverted><a href="#" aria-label="oc-auto"></a><picture slot="img"><img src="/previews/imagery/samples/otto-product-still/product-sneaker.webp" alt="" style="margin:0;height:100%"></picture><span slot="headline">Sneaker</span><span slot="subline">Bis zu -30 %</span></oc-media-object-card-v2></div>
HTML
<div class="on-frame" style="display:grid;grid-template-columns:1fr 1fr;gap:24px">
<oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
<oc-media-object-card-v2 inverted><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Bis zu -30 %</span></oc-media-object-card-v2>
HTML
<div class="on-frame" style="display:grid;grid-template-columns:1fr 1fr;gap:16px 24px">
<oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span><oc-action-signifier-v1 slot="action-signifier" variant="icon"></oc-action-signifier-v1></oc-media-object-card-v2>
<oc-media-object-card-v2 inverted><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Bis zu -30 %</span><oc-action-signifier-v1 slot="action-signifier" variant="icon" inverted></oc-action-signifier-v1></oc-media-object-card-v2>
<oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span><oc-action-signifier-v1 slot="action-signifier" variant="text" label="Ansehen"></oc-action-signifier-v1></oc-media-object-card-v2>
<oc-media-object-card-v2 inverted><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Bis zu -30 %</span><oc-action-signifier-v1 slot="action-signifier" variant="text" label="Ansehen" inverted></oc-action-signifier-v1></oc-media-object-card-v2>
Behavior
States
HTML
<div class="on-frame" style="display:grid;grid-template-columns:1fr 1fr;gap:24px">
<p class="demo-label">Enabled</p><oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
<p class="demo-label">Hover (shown)</p><oc-media-object-card-v2 style="background-image:linear-gradient(var(--oc-semantic-color-overlay-hover),var(--oc-semantic-color-overlay-hover))"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
<p class="demo-label">Pressed (shown)</p><oc-media-object-card-v2 has-action-child-active><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
<p class="demo-label">Selected</p><oc-media-object-card-v2><a href="#" aria-current="page" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
<p class="demo-label">Focus (shown)</p><oc-media-object-card-v2 style="outline:2px solid var(--oc-semantic-focus-outline-color);outline-offset:2px"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
For information on states, refer to foundations.
Typography
Each size of the media object cards has different limitation of lines for the headline and subline. It follows the logic that the lines always start with the headline and that the remaining lines are filled with the subline.
HTML
<div class="on-frame" style="display:grid;grid-template-columns:repeat(2,minmax(0,300px));gap:32px 24px;justify-content:center;align-items:start">
<p class="demo-label">Size 100</p><oc-media-object-card-v2 size="100"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer, Esszimmer und Arbeitszimmer</span><span slot="subline">Sofas, Tische, Stühle und Leuchten für dein Zuhause</span></oc-media-object-card-v2></div>
<p class="demo-label">Size 75</p><oc-media-object-card-v2 size="75"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer, Esszimmer und Arbeitszimmer</span><span slot="subline">Sofas, Tische, Stühle und Leuchten für dein Zuhause</span></oc-media-object-card-v2></div>
<p class="demo-label">Size 50</p><oc-media-object-card-v2 size="50"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer, Esszimmer und Arbeitszimmer</span><span slot="subline">Sofas, Tische, Stühle und Leuchten für dein Zuhause</span></oc-media-object-card-v2></div>
<p class="demo-label">Size 25</p><oc-media-object-card-v2 size="25"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer, Esszimmer und Arbeitszimmer</span><span slot="subline">Sofas, Tische, Stühle und Leuchten für dein Zuhause</span></oc-media-object-card-v2></div>
In general, the media object card prefers that the text (headline and subline) is placed next to each other. When this is no longer possible, they are placed one below the other. You can also use the "prefer vertical alignment" option. This will always place the text below each other.
HTML
<div class="on-frame" style="display:grid;grid-template-columns:1fr 1.3fr;gap:16px;align-items:end">
<p class="demo-label">Default</p><oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
<p class="demo-label">Prefer vertical alignment</p><oc-media-object-card-v2 prefer-vertical-alignment><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
Fitting
For the width of the media object card you can either choose fit-content or fill-parent. The height of the media object card depends on the size and is always fixed.
HTML
<div class="on-frame" style="display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:end">
<p class="demo-label">fit-content</p><div><oc-media-object-card-v2 width-behavior="fit"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div></div>
<p class="demo-label">fill-parent</p><oc-media-object-card-v2 width-behavior="fill"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
Placement
Media object card are mostly used within a cinema or with multiple instances next to each other. When placing multiple media object cards side by side you should use the same size. You can also use the media object card standalone but consider that the width on desktop gets pretty big.
HTML
<div class="on-frame" style="display:grid;grid-template-columns:minmax(0,1fr);gap:24px">
<oc-cinema-v1 oc-aria-label="Kategorien" items-per-page="2">
<oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
<oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-kinderzimmer.jpg" alt=""><span slot="headline">Kinderzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
<oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-buecher-sortiment.jpg" alt=""><span slot="headline">Bücher</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
<oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-fashion-drop-mojo-06.jpg" alt=""><span slot="headline">Mode</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
</oc-cinema-v1>
<div style="display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px">
<oc-media-object-card-v2 prefer-vertical-alignment><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
<oc-media-object-card-v2 prefer-vertical-alignment><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-kinderzimmer.jpg" alt=""><span slot="headline">Kinderzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
<oc-media-object-card-v2 prefer-vertical-alignment><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-buecher-sortiment.jpg" alt=""><span slot="headline">Bücher</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
<oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2>
Elevation
Media object cards are placed on top of the frame (level 0) inside the canvas (level 1). Media object cards can also be placed on top of the canvas (level 1.5) as stacked media object card. You can use stacked media object cards when you want to place a card inside a block. Therefore, stacked media object cards have a different background color (stacked background).
HTML
<div class="on-frame" style="display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center">
<p class="demo-label">Default, on frame</p><oc-media-object-card-v2><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div>
<oc-block-v2><div class="group"><p class="demo-label">Stacked, inside a block</p><oc-media-object-card-v2 elevation-level="stacked"><a href="#" aria-label="oc-auto"></a><img slot="img" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt=""><span slot="headline">Wohnzimmer</span><span slot="subline">Neu im Shop</span></oc-media-object-card-v2></div></oc-block-v2>
Responsiveness
In principle, the media object card behaves in the same way across all breakpoints. The only exception is size 100, where the headline in breakpoint S is set as headline 100 and from breakpoint L it becomes headline200.

Best practices
Accessibility
For information on accessibility, refer to thetechnical documentation.
Related components
Implementation
Live demo
Wie können wir dir helfen?
Zuletzt angesehen
HTML
<div class="on-frame demo-stack" style="gap:32px">
<p class="oc-headline-200" style="margin:0">Wie können wir dir helfen?</p>
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:16px">
<oc-media-object-card-v2 size="75" prefer-vertical-alignment variant="icon" icon="order"><a href="#" aria-label="oc-auto"></a><span slot="headline">Bestellung verfolgen</span><span slot="subline">Wo ist mein Paket?</span><oc-action-signifier-v1 slot="action-signifier" variant="icon"></oc-action-signifier-v1></oc-media-object-card-v2>
<oc-media-object-card-v2 size="75" prefer-vertical-alignment variant="icon" icon="order-return"><a href="#" aria-label="oc-auto"></a><span slot="headline">Artikel zurücksenden</span><span slot="subline">30 Tage kostenlos</span><oc-action-signifier-v1 slot="action-signifier" variant="icon"></oc-action-signifier-v1></oc-media-object-card-v2>
<oc-media-object-card-v2 size="75" prefer-vertical-alignment variant="icon" icon="payment-invoice"><a href="#" aria-label="oc-auto"></a><span slot="headline">Rechnung und Zahlung</span><span slot="subline">Rechnung oder Raten</span><oc-action-signifier-v1 slot="action-signifier" variant="icon"></oc-action-signifier-v1></oc-media-object-card-v2>
<oc-media-object-card-v2 size="75" prefer-vertical-alignment variant="icon" icon="person-callcenter"><a href="#" aria-label="oc-auto"></a><span slot="headline">Kundenservice</span><span slot="subline">Mo bis Sa, 8 bis 20 Uhr</span><oc-action-signifier-v1 slot="action-signifier" variant="icon"></oc-action-signifier-v1></oc-media-object-card-v2>
<div style="display:flex;justify-content:space-between;align-items:baseline;gap:12px"><p class="oc-headline-200" style="margin:0">Zuletzt angesehen</p><oc-link-v2><a href="#">Verlauf löschen</a></oc-link-v2></div>
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:16px">
<oc-media-object-card-v2 size="75" prefer-vertical-alignment variant="cut-out-image"><a href="#" aria-label="oc-auto"></a><picture slot="img"><img src="/previews/imagery/samples/otto-product-still/product-sneaker.webp" alt="" style="margin:0;height:100%"></picture><span slot="headline">Sneaker »Court«</span><span slot="subline">79,99 €</span><oc-action-signifier-v1 slot="action-signifier" variant="icon"></oc-action-signifier-v1></oc-media-object-card-v2>
<oc-media-object-card-v2 size="75" prefer-vertical-alignment variant="cut-out-image"><a href="#" aria-label="oc-auto"></a><picture slot="img"><img src="/previews/imagery/samples/otto-product-still/product-headphones.webp" alt="" style="margin:0;height:100%"></picture><span slot="headline">Kopfhörer »Studio«</span><span slot="subline">98,99 €</span><oc-action-signifier-v1 slot="action-signifier" variant="icon"></oc-action-signifier-v1></oc-media-object-card-v2>
<oc-media-object-card-v2 size="75" prefer-vertical-alignment variant="cut-out-image"><a href="#" aria-label="oc-auto"></a><picture slot="img"><img src="/previews/imagery/samples/otto-product-still/product-armchair.webp" alt="" style="margin:0;height:100%"></picture><span slot="headline">Sessel »Lounge«</span><span slot="subline">449,99 €</span><oc-action-signifier-v1 slot="action-signifier" variant="icon"></oc-action-signifier-v1></oc-media-object-card-v2>






