Configurator
<oc-card-v3 elevation-level="stacked"><a href="#" aria-label="oc-auto"></a><div slot="content" class="oc-p-50" style="display:grid;gap:16px"><div class="oc-px-50 oc-pt-50"><p class="oc-copy-100">Neu im Shop</p><p class="oc-headline-100">Wohnzimmer</p></div><img class="oc-br-100" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>Usage
In comparison to blocks, cards contain content, which leads away from the page (offsite content). Mostly the content of a card is different from the content of the page. Cards can serve as entry points into deeper levels of detail or navigation.
HTML
<div class="on-frame" style="display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1.1fr);gap:24px;align-items:center">
<p class="demo-label">Card on the page</p>
<oc-card-v3><a href="#" aria-label="oc-auto"></a><div slot="content" class="oc-p-50" style="display:grid;gap:16px"><div class="oc-px-50 oc-pt-50"><p class="oc-copy-100">Neu im Shop</p><p class="oc-headline-100">Wohnzimmer</p></div><img class="oc-br-100" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>
<oc-icon-v1 type="arrow-long-right"></oc-icon-v1>
<p class="demo-label">Leads to its own page</p>
<oc-block-v2><div style="display:grid;gap:16px"><img src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"><p class="oc-headline-200">Wohnzimmer</p><p class="oc-copy-100">Sofa, Couchtisch, Leuchten: Hier findest du alles, was dein Wohnzimmer gemütlich macht. Lass dich von unseren Ideen inspirieren und bestell bequem nach Hause.</p></div></oc-block-v2>
Cards are always interactive. You have two options on how to make a card interactive:
- fully interactive: The whole card is interactive and can contain only one link target. You can increase the affordance by adding an action signifier. But remember that the fully interactive card comes with states.
- partially interactive: The card itself is static but has to contain at least one interactive component, e.g. button, links or stacked cards. Mostly the interactive components are placed on the bottom of the card. Note that this variant has no states itself.
Note: Interactive cards with interactive components inside are possible, but require a lot of special attention to details because of target sizes, that should be big enough to not interfere with each other.
HTML
<p class="demo-label">fully: the whole card is one target</p>
<oc-card-v3><a href="#" aria-label="oc-auto"></a><div slot="content" class="oc-p-50" style="display:grid;gap:16px"><div class="oc-px-50 oc-pt-50"><p class="oc-copy-100">Neu im Shop</p><p class="oc-headline-100">Wohnzimmer</p></div><img class="oc-br-100" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>
<p class="demo-label">partially: only the buttons are targets</p>
<oc-card-v3><div class="oc-p-50" style="display:grid;gap:16px"><div class="oc-px-50 oc-pt-50"><p class="oc-copy-100">Neu im Shop</p><p class="oc-headline-100">Wohnzimmer</p></div><img class="oc-br-100" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"><div class="demo-row tight gap-8" style="max-width:none"><oc-button-v1 variant="secondary" size="50">Merken</oc-button-v1><oc-button-v1 variant="primary" size="50">Ansehen</oc-button-v1></div></div></oc-card-v3>
Variants
Cards are available in two sizes: 50 and 100. The card sizes differ in their border radius. A larger border radius results in a higher affordance, so card 100 has a higher affordance than card 50. You can use size 50 for smaller cards and size 100 for larger cards. There is also the inverted card, which has a colored background and takes care of its content text being inverted too.
HTML
<div class="on-frame" style="display:grid;grid-template-columns:2fr 3fr;gap:32px 48px;align-items:center">
<p class="demo-label">Card 50</p><oc-card-v3 size="50"><a href="#" aria-label="Card 50"></a><div slot="content" style="height:120px"></div></oc-card-v3></div>
<p class="demo-label">Card 100</p><oc-card-v3><a href="#" aria-label="Card 100"></a><div slot="content" style="height:190px"></div></oc-card-v3></div>
<p class="demo-label">Card 50, inverted</p><oc-card-v3 size="50" inverted><a href="#" aria-label="Card 50 inverted"></a><div slot="content" style="height:120px"></div></oc-card-v3></div>
<p class="demo-label">Card 100, inverted</p><oc-card-v3 inverted><a href="#" aria-label="Card 100 inverted"></a><div slot="content" style="height:190px"></div></oc-card-v3></div>
Behavior
States
HTML
<div class="on-frame" style="display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 20px">
<oc-card-v3><a href="#" aria-label="Enabled"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
<oc-card-v3 style="background-image:linear-gradient(var(--oc-semantic-color-overlay-hover),var(--oc-semantic-color-overlay-hover))"><a href="#" aria-label="Hover"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
<oc-card-v3 has-action-child-active><a href="#" aria-label="Pressed"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
<oc-card-v3><a href="#" aria-current="page" aria-label="Selected"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
<oc-card-v3 style="outline:2px solid var(--oc-semantic-focus-outline-color);outline-offset:2px"><a href="#" aria-label="Focus"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
<oc-card-v3 inverted><a href="#" aria-label="Enabled inverted"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
<oc-card-v3 inverted style="background-image:linear-gradient(var(--oc-semantic-color-overlay-hover),var(--oc-semantic-color-overlay-hover))"><a href="#" aria-label="Hover inverted"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
<oc-card-v3 inverted has-action-child-active><a href="#" aria-label="Pressed inverted"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
<oc-card-v3 inverted><a href="#" aria-current="page" aria-label="Selected inverted"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
<oc-card-v3 inverted style="outline:2px solid var(--oc-semantic-focus-outline-color);outline-offset:2px"><a href="#" aria-label="Focus inverted"></a><div slot="content" style="aspect-ratio:1"></div></oc-card-v3>
For information on states, refer to foundations.
Fitting
Cards can have a flexible layout and dimensions based on its content and context as you can see in the following examples:
HTML
<div class="on-frame" style="display:grid;grid-template-columns:1.2fr 0.8fr 1.5fr;gap:24px;align-items:start">
<p class="demo-label">fill-parent, 4:3</p><oc-card-v3><a href="#" aria-label="Wohnzimmer"></a><div slot="content" class="oc-p-50"><img class="oc-br-100" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3></div>
<p class="demo-label">fixed-width, 1:1</p><oc-card-v3 style="width:140px"><a href="#" aria-label="Mojo Drop"></a><div slot="content" class="oc-p-50"><img class="oc-br-100" src="/references/images/otto/otto-fashion-drop-mojo-04.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:1;object-fit:cover"></div></oc-card-v3></div>
<p class="demo-label">fit-content height</p><oc-card-v3><div class="oc-p-100" style="display:grid;gap:12px"><p class="oc-headline-100">Deine Lieferung</p><p class="oc-copy-100">Dein Paket kommt morgen zwischen 10 und 14 Uhr.</p><div class="demo-row tight gap-8" style="max-width:none"><oc-button-v1 variant="secondary" size="50">Ändern</oc-button-v1><oc-button-v1 variant="primary" size="50">Verfolgen</oc-button-v1></div></div></oc-card-v3></div>
Placement
If you want to arrange cards vertically, the recommended spacing is 40px. Some cases, like the module assembly service, generate the recommended spacing results from a bottom spacing (24px) of the upper card and top spacing (16px) of the lower card.
If you want to arrange cards horizontally the recommended spacing is 16px. For smaller cards you can also use smaller distances.
HTML
<div class="on-frame"><div class="narrow" style="margin:0 auto;display:grid;gap:40px">
<oc-card-v3><a href="#" aria-label="Versand"></a><div slot="content" class="oc-p-100" style="min-height:96px"><p class="oc-headline-100">Versand</p><p class="oc-copy-100">Ab 29 € liefern wir kostenlos.</p></div></oc-card-v3>
<oc-card-v3><a href="#" aria-label="Rückgabe"></a><div slot="content" class="oc-p-100" style="min-height:96px"><p class="oc-headline-100">Rückgabe</p><p class="oc-copy-100">30 Tage kostenlos zurückschicken.</p></div></oc-card-v3>
<p class="demo-label" style="text-align:center;margin-top:12px">40px vertical gap</p></div>HTML
<div class="on-frame"><div style="display:grid;grid-template-columns:1fr 1fr;gap:16px">
<oc-card-v3><a href="#" aria-label="Wohnzimmer"></a><div slot="content" class="oc-p-50"><img class="oc-br-100" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>
<oc-card-v3><a href="#" aria-label="Kinderzimmer"></a><div slot="content" class="oc-p-50"><img class="oc-br-100" src="/references/images/otto/otto-shop-teaser-kinderzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>
<p class="demo-label" style="text-align:center;margin-top:12px">16px horizontal gap</p></div>Elevation
Refer to the elevation guidelines. Cards are placed on a frame (level 0) as an element of the canvas level (level 1). Cards can also be placed on top of the canvas level (cards or blocks) as stacked cards (level 1.5). Therefore, stacked cards have a different background color (stacked background). Stacked cards can also have a custom background color.
HTML
<div style="display:grid;grid-template-columns:1fr 1fr;margin:-32px">
<div class="oc-background-color-frame" style="padding:40px 32px;display:grid;gap:24px"><oc-card-v3><a href="#" aria-label="Card"></a><div slot="content" class="oc-p-100" style="aspect-ratio:4/3;display:grid;place-items:center"><p class="oc-copy-100">card</p></div></oc-card-v3><p class="demo-label" style="text-align:center">frame</p></div>
<div style="padding:40px 32px;display:grid;gap:24px"><oc-card-v3 elevation-level="stacked"><a href="#" aria-label="Stacked card"></a><div slot="content" class="oc-p-100" style="aspect-ratio:4/3;display:grid;place-items:center"><p class="oc-copy-100">stacked card</p></div></oc-card-v3><p class="demo-label" style="text-align:center">canvas (block)</p></div>
Content Guidelines
The Card component comes without content. All types of content may be included in cards, like these:
- image
- headline
- text
- action signifiers (for interactive cards)
- actions (for partially interactive cards)
But keep in mind that you should not mix content from different topics within a single card.

Neue Bücher im Sortiment
Krimis, Kochbücher, Kinderbücher: Stöbere durch unsere Neuheiten und lass dir dein nächstes Lieblingsbuch nach Hause liefern.
HTML
<div class="on-frame"><div style="max-width:340px;margin:0 auto">
<oc-card-v3><div class="oc-p-50" style="display:grid;gap:16px"><img class="oc-br-100" src="/references/images/otto/otto-buecher-sortiment.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"><div class="oc-px-50" style="display:grid;gap:8px"><p class="oc-headline-100">Neue Bücher im Sortiment</p><p class="oc-copy-100">Krimis, Kochbücher, Kinderbücher: Stöbere durch unsere Neuheiten und lass dir dein nächstes Lieblingsbuch nach Hause liefern.</p></div><div class="oc-px-50 oc-pb-50 demo-row tight gap-8" style="max-width:none"><oc-button-v1 variant="secondary" size="50">Merken</oc-button-v1><oc-button-v1 variant="primary" size="50">Entdecken</oc-button-v1></div></div></oc-card-v3>
</div>Border radiuses
If you place images inside the card, make sure the border matches the border radius of the card. There is a thumb rule that helps you determine the correct nested border radius:
card-border-radius - card-padding = content-border-radius
If the result is less than or equal to 0, it won't work. From that point on, use the minimum border radius of 4px for interactive content.
16px (card border radius) - 4 px (card padding) = 12px (content border radius)
HTML
<div class="on-frame"><div class="group" style="max-width:280px;margin:0 auto"><p class="demo-label">Card 16px · padding 4px · image 12px</p>
<oc-card-v3><a href="#" aria-label="Wohnzimmer"></a><div slot="content" class="oc-p-25"><img class="oc-br-150" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>
</div>16px (card border radius) - 8 px (card padding) = 8px (content border radius)
HTML
<div class="on-frame"><div class="group" style="max-width:280px;margin:0 auto"><p class="demo-label">Card 16px · padding 8px · image 8px</p>
<oc-card-v3><a href="#" aria-label="Wohnzimmer"></a><div slot="content" class="oc-p-50"><img class="oc-br-100" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>
</div>16px (card border radius) - 16 px (card padding) = 0px (content border radius)
HTML
<div class="on-frame"><div class="group" style="max-width:280px;margin:0 auto"><p class="demo-label">Card 16px · padding 16px · image 4px (minimum)</p>
<oc-card-v3><a href="#" aria-label="Wohnzimmer"></a><div slot="content" class="oc-p-100"><img class="oc-br-50" src="/references/images/otto/otto-shop-teaser-wohnzimmer.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>
</div>Best Practices
Versand und Lieferung
Deine Bestellung ist in der Regel in 2 bis 4 Werktagen bei dir. Ab 29 € Bestellwert liefern wir kostenlos. Große Artikel wie Möbel bringt dir unsere Spedition bis in die Wohnung, den Termin stimmen wir vorher mit dir ab.
Accessibility
Related Components
Implementation
Live demo
Das könnte dir gefallen
Wohnideen für dich
HTML
<div class="on-frame demo-stack" style="gap:32px">
<div style="display:flex;justify-content:space-between;align-items:baseline;gap:12px"><p class="oc-headline-200" style="margin:0">Das könnte dir gefallen</p><oc-link-v2><a href="#">Alle ansehen</a></oc-link-v2></div>
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:16px">
<oc-card-v3><a href="#" aria-label="oc-auto"></a><div slot="content" class="oc-p-50" style="display:grid;gap:12px"><div style="position:relative"><img class="oc-br-100" src="/previews/imagery/samples/otto-product-still/product-sneaker.webp" alt="" style="display:block;margin:0;width:100%;aspect-ratio:1;object-fit:cover"><oc-tag-v1 variant="sale" size="50" style="position:absolute;top:8px;left:8px">-20 %</oc-tag-v1></div><div class="oc-px-50 oc-pb-50" style="display:grid;gap:4px"><p class="oc-copy-100" style="margin:0">Sneaker »Court«, Leder, Weiß</p><p class="oc-headline-100 oc-text-color-sale" style="margin:0">79,99 € <span class="oc-copy-75 oc-text-color-secondary" style="text-decoration:line-through">99,99 €</span></p><p class="oc-copy-75 oc-text-color-secondary" style="margin:0">Lieferung in 2 bis 4 Werktagen</p></div></div></oc-card-v3>
<oc-card-v3><a href="#" aria-label="oc-auto"></a><div slot="content" class="oc-p-50" style="display:grid;gap:12px"><div style="position:relative"><img class="oc-br-100" src="/previews/imagery/samples/otto-product-still/product-armchair.webp" alt="" style="display:block;margin:0;width:100%;aspect-ratio:1;object-fit:cover"></div><div class="oc-px-50 oc-pb-50" style="display:grid;gap:4px"><p class="oc-copy-100" style="margin:0">Sessel »Lounge«, Bouclé, Natur</p><p class="oc-headline-100" style="margin:0">449,99 €</p><p class="oc-copy-75 oc-text-color-secondary" style="margin:0">Lieferung in 1 bis 2 Wochen</p></div></div></oc-card-v3>
<oc-card-v3><a href="#" aria-label="oc-auto"></a><div slot="content" class="oc-p-50" style="display:grid;gap:12px"><div style="position:relative"><img class="oc-br-100" src="/previews/imagery/samples/otto-product-still/product-headphones.webp" alt="" style="display:block;margin:0;width:100%;aspect-ratio:1;object-fit:cover"></div><div class="oc-px-50 oc-pb-50" style="display:grid;gap:4px"><p class="oc-copy-100" style="margin:0">Kopfhörer »Studio«, kabellos, Schwarz</p><p class="oc-headline-100" style="margin:0">98,99 €</p><p class="oc-copy-75 oc-text-color-secondary" style="margin:0">Lieferung in 2 bis 4 Werktagen</p></div></div></oc-card-v3>
<div style="display:flex;justify-content:space-between;align-items:baseline;gap:12px"><p class="oc-headline-200" style="margin:0">Wohnideen für dich</p><oc-link-v2><a href="#">Mehr Inspiration</a></oc-link-v2></div>
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:16px">
<oc-card-v3><a href="#" aria-label="oc-auto"></a><div slot="content" class="oc-p-50" style="display:grid;gap:16px"><div class="oc-px-50 oc-pt-50"><p class="oc-copy-100" style="margin:0">Neu im Shop</p><p class="oc-headline-100" style="margin:0">Wohnzimmer</p></div><img class="oc-br-100" src="/previews/imagery/samples/otto-lifestyle-photo/lifestyle-living-room.webp" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>
<oc-card-v3><a href="#" aria-label="oc-auto"></a><div slot="content" class="oc-p-50" style="display:grid;gap:16px"><div class="oc-px-50 oc-pt-50"><p class="oc-copy-100" style="margin:0">Bis zu -30 %</p><p class="oc-headline-100" style="margin:0">Kinderzimmer</p></div><img class="oc-br-100" src="/previews/imagery/samples/otto-lifestyle-photo/lifestyle-kids-room.webp" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>
<oc-card-v3 inverted><a href="#" aria-label="oc-auto"></a><div slot="content" class="oc-p-50" style="display:grid;gap:16px"><div class="oc-px-50 oc-pt-50"><p class="oc-copy-100" style="margin:0">Fashion Drop</p><p class="oc-headline-100" style="margin:0">Mojo</p></div><img class="oc-br-100" src="/references/images/otto/otto-fashion-drop-mojo-06.jpg" alt="" style="display:block;margin:0;width:100%;aspect-ratio:4/3;object-fit:cover"></div></oc-card-v3>









