Component packs › Lenticular › Lenticular Badge

Lenticular Badge

A sticker that rocks slowly between a check mark and the year, and follows your pointer when you reach for it.

Lenticular Badge is a badge 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: idle sway, round lens print, both faces in its name.

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 Badge props

PropTypeDefaultDescription
labelstring"Verified"First face: short word under the check. Default "Verified".
valuestring"2019"Second face: big value. Default "2019".
captionstring"Member since"Small line under the value. Default "Member since".
sizenumber112Diameter in px. Default 112.
swaybooleantrueRock on its own while idle. Default true.
darkboolean
autoplaynumber | falseShowcase mode (any number keeps the sway on).

Methods on the ref

Use it in React

import LenticularBadge from './LenticularBadge';

<LenticularBadge />

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

More in Lenticular

Good for: Skeuomorphic UI.