Smooth Scroll
Smooth Scroll is a React and Tailwind CSS marquee component from UI Layouts, licensed MIT. Copy it and paste it into your project.
UI Layouts
MIT
marquee
What it is
Smooth Scroll is a React and Tailwind CSS marquee component from UI Layouts, licensed MIT. Copy it and paste it into your project.
How to use it
Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.
Five free copies a month. No card.
No packages beyond the project baseline
Licence
This component comes from UI Layouts and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.
Smooth Scroll
'use client';
import { ReactLenis } from 'lenis/react';
export default function index(): JSX.Element {
return (
<ReactLenis root>
<main>
<article>
<section className='text-white h-screen w-full bg-slate-950 grid place-content-center sticky top-0'>
<div className='absolute bottom-0 left-0 right-0 top-0 bg-[linear-gradient(to_right,#4f4f4f2e_1px,transparent_1px),linear-gradient(to_bottom,#4f4f4f2e_1px,transparent_1px)] bg-size-[54px_54px] mask-[radial-gradient(ellipse_60%_50%_at_50%_0%,#000_70%,transparent_100%)]'></div>
<h1 className='2xl:text-7xl text-6xl px-8 font-semibold text-center tracking-tight leading-[120%]'>
I Know What Exactly you're <br /> Looking For! Scroll Please 👇
</h1>
</section>
<section className='bg-neutral-300 text-black grid place-content-center h-screen sticky top-0 rounded-tr-2xl rounded-tl-2xl overflow-hidden'>
<div className='absolute bottom-0 left-0 right-0 top-0 bg-[linear-gradient(to_right,#4f4f4f2e_1px,transparent_1px),linear-gradient(to_bottom,#4f4f4f2e_1px,transparent_1px)] bg-size-[54px_54px] mask-[radial-gradient(ellipse_60%_50%_at_50%_0%,#000_70%,transparent_100%)]'></div>
<h1 className='2xl:text-7xl text-4xl px-8 font-semibold text-center tracking-tight leading-[120%]'>
If you don't like this then I'm sorry, <br /> create your own and
make it open source 💼
</h1>
</section>
<section className='text-white h-screen w-full bg-slate-950 grid place-content-center sticky top-0'>
<div className='absolute bottom-0 left-0 right-0 top-0 bg-[linear-gradient(to_right,#4f4f4f2e_1px,transparent_1px),linear-gradient(to_bottom,#4f4f4f2e_1px,transparent_1px)] bg-size-[54px_54px] mask-[radial-gradient(ellipse_60%_50%_at_50%_0%,#000_70%,transparent_100%)]'></div>
<h1 className='2xl:text-7xl text-5xl px-8 font-semibold text-center tracking-tight leading-[120%]'>
Thanks To Scroll.
<br /> Now Scroll Up Again☝️🏿
</h1>
</section>
</article>
</main>
</ReactLenis>
);
}