Component packs › Insignia › Achievement Unlock

Achievement Unlock

The blank presses in, the star and laurel rise out of it, the coin rings for a moment and one band of light crosses the metal.

Achievement Unlock is an achievement from Insignia, a component pack with 6 badges: Badges struck like coins: they press in, emboss and catch the light once. Price: $2 for the whole pack.

Built with: minted relief, coin rings, locked progress.

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.

Achievement Unlock props

PropTypeDefaultDescription
titlestring
goalstringText while locked.
progress[number, number]
unlockedboolean
datestring
onUnlock() => void
theme"light" | "dark"
autoplaynumber | falseShowcase mode: relocks and mints again every N ms while visible.

Methods on the ref

Use it in React

import AchievementUnlock from './AchievementUnlock';

<AchievementUnlock />

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

More in Insignia

Good for: Badges.