Wiltshire · shot at dawn
Wigglegram
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardWigglegram(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-wigglegramAbout 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 allThe Daily Motion
Vol. XIILate edition2 cents
Easing is back
Pick your hand
Your profile6 of 9
Next: Add a photo