asanshay

Reveal

Text 14

About

A wrapper that fades and un-blurs its content into view when it scrolls onscreen, with optional staggered delay.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Reveal to your project and fits it to your theme.

Code

How Reveal is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Reveal from "@/components/ui/reveal";

export default function RevealDemo() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center p-8">
      <div className="text-center">
        <Reveal index={0}>
          <h2 className="text-5xl font-bold tracking-tight">This text</h2>
        </Reveal>
        <Reveal index={1}>
          <p className="mt-2 text-3xl font-medium">will be revealed</p>
        </Reveal>
        <Reveal index={2}>
          <p className="mt-3 text-xl text-muted-foreground">
            when it comes into view.
          </p>
        </Reveal>
      </div>
    </div>
  );
}

Dependencies

More by asanshay

View all
  • Chat Reasoning

    Chat Reasoning

    131
  • Shader Loader

    Shader Loader

    65
  • Motion Blur Text

    Motion Blur Text

    36
  • Chat Tool

    Chat Tool

    10
  • Chat Message

    Chat Message

    7
  • Page Header

    Page Header

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Blur Reveal

    Blur Reveal

    297
  • Text Reveal

    Text Reveal

    317
  • NeonRGBTextEffect

    NeonRGBTextEffect

    144
  • Glow

    Glow

    40
  • Shine Border

    Shine Border

    950
  • Apple Hello Effect

    Apple Hello Effect

    607