Skip to content
Components85 / 118

Trip Card

An activity card whose photos fan out when you reach for it, like a hand of cards, each on its own spring and leaning toward your cursor. The title takes on a colour picked from the photos, the arrow slides out and back in, and clicking a photo brings it to the front.

CardPhoto stackHoverSpringsSquash & stretchGSAP
City Walk
~4 Hours6 kmEasy

A slow loop through colourful streets, quiet corners and the best coffee in town.

Hover the cardClick a photo to bring it forward

Tweak

LIVE

Content

Card

Look

320px

Props

8 props
  • titlestring
    The card title.
  • photosstring[]
    Up to three photos (back to front).
  • statsstring[]
    Short facts (time, distance, level…).
  • descriptionstring
    A line of description.
  • hrefstring
    Make the card a link.
  • accentstring
    Title hover colour (picked from the photos if not given).
  • widthnumber
    Card width, px.default 320
  • classNamestring
    Extra classes.