Component packs › Insignia › Version Tag
The tag flips on its horizontal axis to show the new version on its back face, then is re-struck.
Version Tag is a tag 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: two-faced token, flip on change, release note.
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 |
|---|---|---|---|
name | string | ||
releases | VersionTagRelease[] | ||
current | number | Index into releases. | |
theme | "light" | "dark" | ||
autoplay | number | false | Showcase mode: moves to the next release every N ms while visible. |
readonly version: stringsetVersion(version: string, note?: string): voiddestroy(): voidimport VersionTag from './VersionTag';
<VersionTag />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Badges.