Component packs › Insignia › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | ||
goal | string | Text while locked. | |
progress | [number, number] | ||
unlocked | boolean | ||
date | string | ||
onUnlock | () => void | ||
theme | "light" | "dark" | ||
autoplay | number | false | Showcase mode: relocks and mints again every N ms while visible. |
readonly unlocked: booleanunlock(): voidlock(): voiddestroy(): voidimport AchievementUnlock from './AchievementUnlock';
<AchievementUnlock />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Badges.