Component packs › Lenticular › Lenticular Card

Lenticular Card

Tilt the pass and the poster turns into the seat details strip by strip under the ridges, a line of light running through each one.

Lenticular Card is a card from Lenticular, a component pack with 6 lenticular controls: Cards, buttons and headings printed like lenticular plastic: tilt and the picture changes strip by strip. Price: $2 for the whole pack.

Built with: interlaced strip mask, ridge shading and specular line, sweep across the print.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Lenticular Card props

PropTypeDefaultDescription
frontstringan event passFirst picture (HTML). Default: an event pass.
backstringthe seat detailsSecond picture (HTML). Default: the seat details.
labelstringAccessible description of both pictures.
widthnumber300Width in px; height follows at 1.58 : 1. Default 300.
ridgenumber6Ridge width in px. Default 6.
darkboolean
autoplaynumber | falseShowcase mode: sways on its own (any number turns it on).

Methods on the ref

Use it in React

import LenticularCard from './LenticularCard';

<LenticularCard />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Lenticular

Good for: Skeuomorphic UI.