BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/PaceUI GSAP/reveal-on-scroll
This component no longer exists. It was in PaceUI GSAP’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-06 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.

Reveal On Scroll

paceui-gsap/reveal-on-scroll
RemovedComponent

Animate content into view on scroll with effects like fade, slide, zoom, and blur.

Live preview

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

Install it

npx shadcn@latest add https://gsap.paceui.com/r/reveal-on-scroll.json

Source

components/gsap/reveal-on-scroll.tsxgsap.paceui.com/r/reveal-on-scroll.json
1"use client";
2
3import { ComponentProps, useRef } from "react";
4
5import { useGSAP } from "@gsap/react";
6import gsap from "gsap";
7import { ScrollTrigger } from "gsap/ScrollTrigger";
8
9gsap.registerPlugin(ScrollTrigger);
10
11type EffectType = "fadeIn" | "slideInRight" | "zoomIn" | "blurIn";
12type RevealOnScrollProps = {
13 effect?: EffectType;
14 scrollTriggerVars?: ScrollTrigger.Vars;
15 fromVars?: gsap.TweenVars;
16 toVars?: gsap.TweenVars;
17} & ComponentProps<"div">;
18
19export const RevealOnScroll = ({
20 effect = "fadeIn",
21 scrollTriggerVars,
22 fromVars,
23 toVars,
24 ...props
25}: RevealOnScrollProps) => {
26 const wrapperRef = useRef<HTMLDivElement | null>(null);
27 const animationRef = useRef<gsap.core.Tween | null>(null);
28
29 useGSAP(
30 () => {
31 const el = wrapperRef.current;
32 if (!el) return;
33
34 // Cleanup previous animation
35 animationRef.current?.scrollTrigger?.kill();
36 animationRef.current?.kill();
37 gsap.set(el, { clearProps: "all" });
38
39 const scrollTrigger: ScrollTrigger.Vars = {
40 trigger: el,
41 start: "top 80%",
42 toggleActions: "play pause play reverse",
43 ...scrollTriggerVars,
44 };
45
46 const presets: Record<EffectType, { from: gsap.TweenVars; to: gsap.TweenVars }> = {
47 fadeIn: {
48 from: { opacity: 0, y: 50 },
49 to: { opacity: 1, y: 0, duration: 1 },
50 },
51 slideInRight: {
52 from: { x: 100, opacity: 0 },
53 to: { x: 0, opacity: 1, duration: 1 },
54 },
55 zoomIn: {
56 from: { scale: 0.8, opacity: 0 },
57 to: { scale: 1, opacity: 1, duration: 1 },
58 },
59 blurIn: {
60 from: { y: 30, opacity: 0, filter: "blur(10px)" },
61 to: { y: 0, opacity: 1, filter: "blur(0px)", duration: 1 },
62 },
63 };
64
65 const preset = presets[effect] || presets.fadeIn;
66 const fromVarsFinal = { ...preset.from, ...fromVars };
67 const toVarsFinal = { ...preset.to, scrollTrigger, ...toVars };
68
69 animationRef.current = gsap.fromTo(el, fromVarsFinal, toVarsFinal);
70
71 return () => {
72 animationRef.current?.scrollTrigger?.kill();
73 animationRef.current?.kill();
74 };
75 },
76// … truncated

What it pulls in

npm packages

  • gsap
  • @gsap/react

Files it writes

  • components/gsap/reveal-on-scroll.tsx

Facts

Registry
PaceUI GSAP
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-01
Last confirmed
13 days ago

Go to the source

Docs on PaceUI GSAP gsap.paceui.com paceui/gsap 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