Component packs › Lenticular › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
front | string | an event pass | First picture (HTML). Default: an event pass. |
back | string | the seat details | Second picture (HTML). Default: the seat details. |
label | string | Accessible description of both pictures. | |
width | number | 300 | Width in px; height follows at 1.58 : 1. Default 300. |
ridge | number | 6 | Ridge width in px. Default 6. |
dark | boolean | ||
autoplay | number | false | Showcase mode: sways on its own (any number turns it on). |
tilt(t: number): void: Tilt to -1 (front) … 1 (back).destroy(): voidimport LenticularCard from './LenticularCard';
<LenticularCard />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.