BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/vanillasky/bigNumber

Big Number

vanillasky/bigNumber
FreeBlock

One important real number explicitly present in the input: customer count, reduction, uplift, speed claim, percentage, rank, or headline metric. Use only when you can copy the exact number into value/prefix/unit; never invent a number or leave the default.

See it running

Open the demo on vanillasky

vanillasky.ai/docs/components/bigNumber
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/bigNumber.json

Source

src/lib/scene-templates/chart-counter.tsxvanillasky.ai/r/bigNumber.json · first 6 KB
1/**
2 * chart-counter — animated counting number with label + text overlay.
3 *
4 * Big number counts up from 0 to target value driven by scene progress.
5 * Optional prefix/suffix, label below, accent underline, beat-reactive pulse.
6 * TextOverlay in the top 30% carries a message above the counter.
7 */
8
9import type { VariableField } from "../video-config";
10import type { SceneTemplateProps } from "./types";
11import { resolveTokens } from "../theme";
12import { TemplateText } from "./template-text";
13import { withOpacity } from "../theme";
14import { TOP_TEXT_AREA_RATIO } from "../backgrounds";
15import { SceneBackground, mediaBackgroundSchemaFields, mediaBackgroundDefaults } from "./scene-background";
16import { ConfettiLayer } from "./confetti-layer";
17import { getResponsiveFontSize } from "../typography";
18import { CountUpNumber } from "../primitives/typography/CountUpNumber";
19
20export const chartCounterSchema: Record<string, VariableField> = {
21 texts: {
22 type: "string",
23 label: "Text",
24 default: "Our biggest milestone yet.",
25 required: true,
26 description: "Title text shown above the chart",
27 },
28 value: {
29 type: "number",
30 label: "Target number",
31 default: 1000,
32 required: true,
33 description: "The number to count up to",
34 },
35 label: {
36 type: "string",
37 label: "Label",
38 default: "Total users",
39 required: true,
40 description: "Text displayed below the number",
41 },
42 prefix: {
43 type: "string",
44 label: "Prefix",
45 default: "",
46 description: "Prefix before the number (e.g. $, \u20ac)",
47 },
48 unit: {
49 type: "string",
50 label: "Unit suffix",
51 default: "",
52 description: "Suffix after the number (e.g. %, +, k, M)",
53 },
54 chartColor: {
55 type: "color",
56 label: "Chart color",
57 default: "#00e5a0",
58 description: "Color for the chart elements (bars, line, ring). Green = growth, blue = trust, orange = energy.",
59 },
60 textColor: {
61 type: "color",
62 label: "Text color",
63 default: "",
64 description: "Override text color (leave empty for auto)",
65 },
66 ...mediaBackgroundSchemaFields,
67};
68
69export const chartCounterDefaults: Record<string, unknown> = {
70 texts: "Our biggest milestone yet.",
71 value: 1000,
72 label: "Total users",
73 prefix: "",
74 unit: "",
75 chartColor: "#00e5a0",
76 textColor: "",
77 ...mediaBackgroundDefaults,
78};
79
80export const ChartCounterTemplate: React.FC<SceneTemplateProps> = ({
81 variables,
82 style,
83 progress,
84 beatIntensity,
85 width,
86 height,
87 textArchetype,
88 safeZone,
89// … 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/chart-counter.tsx
  • src/lib/primitives/typography/CountUpNumber.tsx
  • src/lib/scene-templates/confetti-layer.tsx
  • src/lib/scene-templates/scene-background.tsx
  • src/lib/scene-templates/template-text.tsx
  • src/lib/emoji/index.tsx
  • src/lib/emoji/emoji-text.tsx
  • src/lib/scene-templates/types.ts

Facts

Registry
vanillasky
Type
registry:block
Access
Free
Files written
8
Licence
MIT
First indexed
2026-08-08
Last confirmed
3 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
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
ConfetticonfettivanillaskyBlocksFree1 dep · 6 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