Etch component
Album Card 1
An album as a card: its stack of photos, its name and how many photos it holds, the whole card one link to wherever the album opens.
Documentation
An album as a card: its stack of photos, its name and how many photos it holds, the whole card one link to wherever the album opens.
How to use it
- Fill Title and Count, such as "24 photos", and pick the Cover, Photo 2 and Photo 3 for the stack.
- Set Link to where the album opens: its own page, or the album on the same page.
- For a list of albums, put one card per album in a grid, or one card inside an Etch loop over the albums, bound to each album's title, link, count and photos.
Good to know
- The whole card is one link, and its stack fans out on hover and on focus. On a phone the stack stays at rest.
- The card doesn't open the photos itself: the album's own page does, such as with MAC Gallery 1 and MAC Lightbox 1.
- MAC Media Group 1's CSS variables set the photos' shape, corners and shadow.
Reference
Read from the component's JSON, so it's always current.
Loading the reference