18 lines
843 B
JSON
18 lines
843 B
JSON
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "counting-from-number-demo",
|
|
"type": "registry:ui",
|
|
"title": "Counting From Number Demo",
|
|
"description": "Demo showing a counting number starting from a specific number.",
|
|
"registryDependencies": [
|
|
"https://animate-ui.com/r/counting-number"
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "registry/demo/text/counting-from-number/index.tsx",
|
|
"content": "import { CountingNumber } from '@/components/animate-ui/text/counting-number';\n\nexport const CountingFromNumberDemo = () => {\n return (\n <CountingNumber\n number={0}\n fromNumber={new Date().getFullYear()}\n className=\"text-4xl\"\n inView\n />\n );\n};\n",
|
|
"type": "registry:ui",
|
|
"target": "components/animate-ui/demo/text/counting-from-number.tsx"
|
|
}
|
|
]
|
|
} |