Wigglegram

Avebury stones3 lenses

Wiltshire · shot at dawn

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-wigglegram

About this component

A photo card shot on a three-lens camera: hover and the picture flicks between the three viewpoints, left, middle, right, middle, so the standing stones jump out in depth around the one in the middle, which never moves.

Dependencies
None
Difficulty
Intermediate
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers4

  • Hover
  • Loop
  • 3D
  • Card

Techniques4

  • Keyframes
  • Transform only
  • CSS variables
  • SVG

Accessibility

Keyboard and screen readers

An article labelled with the photo title; it takes focus, and focus or a tap plays it as hover does. The photo is aria-hidden.

Reduced motion

The photo stays on its middle view.

Use it in anything you build, commercial and client work included. Licence

More cards

See all

The Daily Motion

Easing is back

BroadsheetGet code
ClapperGet code

Pick your hand

Hand of cardsGet code

Your profile6 of 9

Next: Add a photo

JigsawGet code