BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui/animated-text-demo
This component no longer exists. It was in shadcn/ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-13 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Animated Text Demo

nyxui/animated-text-demo
RemovedExample

Example showing various text animations.

Install it

npx shadcn@latest add https://nyxui.com/r/animated-text-demo.json

Source

registry/example/animated-text-demo.tsxnyxui.com/r/animated-text-demo.json
1"use client";
2import React, { useState } from "react";
3import reactElementToJSXString from "react-element-to-jsx-string";
4import { toast, Toaster } from "sonner";
5import { AnimateText } from "../ui/animated-text";
6import { Copy, Check } from "lucide-react";
7
8interface AnimationCard {
9 children: React.ReactNode;
10 onClick: () => void;
11 isCopied: boolean;
12 title: string;
13}
14
15type AnimatedTextType = {
16 name: string;
17 description: string;
18 component: React.ReactNode;
19 code?: string;
20};
21
22const AnimationCard = ({
23 children,
24 onClick,
25 isCopied,
26 title,
27}: AnimationCard) => {
28 return (
29 <div
30 className="border group relative rounded-lg p-3 sm:p-4 shadow-sm hover:shadow-md transition-shadow duration-300 cursor-pointer bg-background"
31 onClick={onClick}
32 >
33 <p className="text-xs sm:text-sm font-semibold mb-2">{title}</p>
34 <div className="overflow-hidden">{children}</div>
35 <div className="absolute top-2 right-2">
36 {isCopied ? (
37 <Check className="h-3 w-3 text-green-500 transition-all duration-200" />
38 ) : (
39 <Copy className="h-3 w-3 text-zinc-300 dark:text-zinc-700 group-hover:text-zinc-500 group-hover:dark:text-zinc-500" />
40 )}
41 </div>
42 </div>
43 );
44};
45
46export const AnimationTextDemo = () => {
47 const [copiedIndex, setCopiedIndex] = useState<number | null>(null);
48
49 const copy = (animation: AnimatedTextType, index: number) => {
50 if (animation.code) {
51 copyToClipboard(animation.code, index);
52 return;
53 }
54 let animationString = reactElementToJSXString(animation.component, {
55 displayName: (element) => {
56 if (
57 typeof element === "object" &&
58 element !== null &&
59 "type" in element &&
60 // eslint-disable-next-line @typescript-eslint/no-explicit-any
61 (element as any).type?.name === "AnimateText"
62 ) {
63 return "AnimateText";
64 }
65 if (
66 typeof element === "object" &&
67 element !== null &&
68 "type" in element &&
69 // eslint-disable-next-line @typescript-eslint/no-explicit-any
70 (element as any).type?.name
71 ) {
72 // eslint-disable-next-line @typescript-eslint/no-explicit-any
73 return (element as any).type.name;
74 }
75 return "UnknownComponent";
76 },
77 functionValue: (fn) => fn.name || "function",
78 });
79
80 if (animationString) {
81 const textToCopy = animationString;
82// … truncated

What it pulls in

Other registry items

  • https://nyxui.com/r/animated-text.json

Files it writes

  • registry/example/animated-text-demo.tsx

Facts

Registry
shadcn/ui
Type
registry:example
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-09
Last confirmed
6 days ago

Go to the source

Docs on shadcn/ui nyxui.com MihirJaiswal/nyxui on GitHub Raw registry item This item as JSON

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex