Etch component
Media Group 1
Three photos in a stack, the cover in front and two behind it that fan out on hover and on focus. Without a link it opens its photos large; with a link the whole stack goes to that page.
Documentation
Three photos in a stack, the cover in front and two behind it that fan out on hover and on focus. Without a link it opens its photos large; with a link the whole stack goes to that page.
How to use it
- Pick the Cover, Photo 2 and Photo 3: the cover shows in front, the other two behind it.
- Give it a Name, such as "Summer Camp 2026": the large view takes it as its name, and with a link it names the link.
- Leave Link empty to open the photos large: the page needs one MAC Lightbox 1. Fill it, such as with the album's page, and the whole stack goes there.
- In a card whose link covers the stack, turn Open Large off, as MAC Album Card 1 does.
Good to know
- On a phone the stack stays at rest, and a tap opens it. With reduced motion it never fans out.
- A photo without a Source shows the filler, so set all three.
- The CSS variables set the photos' shape, corners, shadow and an optional frame, such as
--mac-media-group-1-frame: 8pxfor photos printed with a white border. A card that holds the stack fans it out by setting--mac-media-group-1-fan: 1on its own hover and focus.
Reference
Read from the component's JSON, so it's always current.
Loading the reference