BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/vanillasky/milestone

Milestone

vanillasky/milestone
FreeBlock

Real numeric achievement explicitly in the input: users, revenue, years, installs, customers, stars, or adoption count. Use exact targetNumber; never for generic releases, versions, 'free', or proof without an achievement count.

See it running

Open the demo on vanillasky

vanillasky.ai/docs/components/milestone
Open
This registry sends X-Frame-Options, so its page cannot be embedded here. The link is the same page the frame would have shown.

Install it

npx shadcn@latest add https://vanillasky.ai/r/milestone.json

Source

src/lib/scene-templates/social-milestone.tsxvanillasky.ai/r/milestone.json
1/**
2 * social-milestone — follower/subscriber count rolling up to a milestone with celebration.
3 *
4 * Converted from Remotion FollowerMilestone. Counter rolls up to target number,
5 * glow intensifies, then confetti burst + celebration badge pop on hit.
6 *
7 * Block structure (docs/blocks.md):
8 * background — SceneBackground (brand gradient / Pexels media + scrims)
9 * hero — MilestoneBadge primitive (rolling number + glow + confetti
10 * + celebration pill)
11 * caption — the uppercase label inside MilestoneBadge (no TemplateText)
12 */
13
14import type { VariableField } from "../video-config";
15import type { SceneTemplateProps } from "./types";
16import { resolveTokens } from "../theme";
17import { SceneBackground, mediaBackgroundSchemaFields, mediaBackgroundDefaults } from "./scene-background";
18import { stripPipe } from "../typography";
19import { MilestoneBadge } from "../primitives/social/MilestoneBadge";
20
21export const socialMilestoneSchema: Record<string, VariableField> = {
22 label: {
23 type: "string",
24 label: "Label",
25 default: "Followers",
26 required: true,
27 description: "Label above the number (e.g. Followers, Subscribers, Downloads)",
28 },
29 targetNumber: {
30 type: "number",
31 label: "Target number",
32 default: 10000,
33 required: true,
34 description: "The milestone number to reach",
35 },
36 startNumber: {
37 type: "number",
38 label: "Start number",
39 default: "",
40 description: "Number the counter starts rolling from. Leave empty to auto-calculate (~98% of target).",
41 },
42 badgeText: {
43 type: "string",
44 label: "Badge text",
45 default: "10K Followers!",
46 description: "Celebration badge text that pops in at milestone",
47 },
48 badgeEmoji: {
49 type: "string",
50 label: "Badge emoji",
51 default: "🎉",
52 description: "Emoji shown in the celebration badge",
53 },
54 badgeColor: {
55 type: "color",
56 label: "Badge color",
57 default: "#facc15",
58 description: "Background color of the celebration badge",
59 },
60 ...mediaBackgroundSchemaFields,
61};
62
63export const socialMilestoneDefaults: Record<string, unknown> = {
64 label: "Followers",
65 targetNumber: 10000,
66 startNumber: "",
67 badgeText: "10K Followers!",
68 badgeEmoji: "🎉",
69 badgeColor: "#facc15",
70 ...mediaBackgroundDefaults,
71};
72
73export const SocialMilestoneTemplate: React.FC<SceneTemplateProps> = ({
74 variables,
75 style,
76 progress,
77 beatIntensity,
78 width,
79 height,
80 sceneDuration,
81 isPlaying = true,
82 backgroundEffect,
83// … truncated

What it pulls in

npm packages

  • react

Other registry items

  • @vanillasky/backgrounds
  • @vanillasky/motion
  • @vanillasky/theme
  • @vanillasky/typography
  • @vanillasky/video-config

Files it writes

  • src/lib/scene-templates/social-milestone.tsx
  • src/lib/primitives/social/MilestoneBadge.tsx
  • src/lib/scene-templates/confetti-layer.tsx
  • src/lib/emoji/emoji-text.tsx
  • src/lib/emoji/index.tsx
  • src/lib/scene-templates/scene-background.tsx
  • src/lib/scene-templates/types.ts

Facts

Registry
vanillasky
Type
registry:block
Access
Free
Files written
7
Licence
MIT
First indexed
2026-08-08
Last confirmed
2 days ago

Go to the source

Docs on vanillasky vanillasky.ai VanillaSkyAi/skills on GitHub Raw registry item This item as JSON

More from vanillasky

All 33 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Bar ChartbarChartvanillaskyBlocksFree1 dep · 8 files
Before AfterbeforeAftervanillaskyBlocksFree1 dep · 7 files
Big NumberbigNumbervanillaskyBlocksFree1 dep · 8 files
Brand MessagebrandMessagevanillaskyBlocksFree1 dep · 6 files
Card ListcardListvanillaskyBlocksFree1 dep · 8 files
Chat MessengerchatMessengervanillaskyBlocksFree1 dep · 6 files
Chat WhatsappchatWhatsappvanillaskyBlocksFree1 dep · 6 files
Code EditorcodeEditorvanillaskyBlocksFree1 dep · 7 files
BlockDex

Built by

Kynth Studios

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studios

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studios

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex