This component no longer exists. It was in atlas-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.
Scroll Based Text Reveal
atlas-ui/scroll-based-text-revealRemovedComponent
A text reveal effect which animates the opacity of the text as you scroll.
Live preview
live · rendered by the registry
Rendered by atlas-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://atlasui.dev/r/scroll-based-text-reveal.jsonSource
1"use client";23import { useRef } from "react";45import { motion, useScroll } from "motion/react";67interface ScrollBasedTextRevealProps {8 text: string;9}1011export const ScrollBasedTextReveal = ({ text }: ScrollBasedTextRevealProps) => {12 const container = useRef(null);13 const { scrollYProgress } = useScroll({14 target: container,15 offset: ["start 0.8", "start 0.3"],16 });1718 return (19 <div className="flex flex-col items-center justify-center">20 <motion.p21 style={{ opacity: scrollYProgress }}22 ref={container}23 className="max-w-5xl text-center text-5xl font-bold"24 >25 {text}26 </motion.p>27 </div>28 );29};
What it pulls in
npm packages
