BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ForgeUI/text-reveal

Text Reveal

forgeui/text-reveal
FreeComponent

A stylish effect that sequentially fades in text on page load, creating a dynamic reveal.

Live preview

live · rendered by the registry
Rendered by ForgeUI on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://forgeui.in/r/text-reveal.json

Source

registry/forgeui/text-reveal.tsxforgeui.in/r/text-reveal.json
1"use client";
2
3import { cn } from "@/lib/utils";
4import { useEffect } from "react";
5import { motion, stagger, useAnimate } from "motion/react";
6
7const TextReveal = ({
8 text,
9 className,
10 filter = true,
11 duration = 0.5,
12 staggerDelay = 0.2,
13}: {
14 text: string;
15 className?: string;
16 filter?: boolean;
17 duration?: number;
18 staggerDelay?: number;
19}) => {
20 const [scope, animate] = useAnimate();
21 const textArray = text.split(" ");
22
23 useEffect(() => {
24 animate(
25 "span",
26 {
27 opacity: 1,
28 filter: filter ? "blur(0px)" : "none",
29 },
30 {
31 duration: duration,
32 delay: stagger(staggerDelay),
33 ease: "easeOut",
34 },
35 );
36 }, [animate, duration, filter, staggerDelay]);
37
38 return (
39 <div className={cn("leading-normal", className)}>
40 <motion.div ref={scope}>
41 {textArray.map((word, idx) => {
42 return (
43 <motion.span
44 key={word + idx}
45 className="inline-block"
46 style={{
47 filter: filter ? "blur(8px)" : "none",
48 marginRight: "0.25rem",
49 opacity: 0,
50 }}
51 >
52 {word}
53 </motion.span>
54 );
55 })}
56 </motion.div>
57 </div>
58 );
59};
60
61export default TextReveal;

Files it writes

  • registry/forgeui/text-reveal.tsx

Facts

Registry
ForgeUI
Type
registry:ui
Access
Free
Files written
1
Licence
NOASSERTION
First indexed
2026-08-01
Last confirmed
today

Go to the source

Docs on ForgeUI forgeui.in AmanShakya0018/forgeui on GitHub Raw registry item This item as JSON

More from ForgeUI

All 28 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Animated Formanimated-formForgeUIComponentsFreeno deps
Animated OTPanimated-otpForgeUIComponentsFreeno deps
Animated Tabsanimated-tabsForgeUIComponentsFreeno deps
AuralisauralisForgeUIComponentsFreeno deps
Bot Detectionbot-detectionForgeUIComponentsFreeno deps
Chromatic Fluidchromatic-fluidForgeUIComponentsFreeno deps
CloudscapecloudscapeForgeUIComponentsFreeno deps
CosmicriftcosmicriftForgeUIComponentsFreeno deps
BlockDex

Built by

Kynth Studio

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 Studio

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 Studio

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