About
A GSAP ScrollTrigger-powered cinematic hero section with a sticky 3-stage scroll choreography, mouse-tracked 3D iPhone mockup, aspect-locked cover card reveal, animated progress ring, and an optional halftone dither wave CTA finale. Built with React and Tailwind CSS for SaaS prod
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Dithering Scroll animated hero to your project and fits it to your theme.
Code
How Dithering Scroll animated hero is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import * as React from "react";
import { CinematicHero } from "@/components/ui/dithering-scroll-animated-hero";
const DESIGNS_HERE_URL = "https://designs.here/?via=y3n4bdt4cbfq";
const DESIGNS_HERE_OG = "https://cdn.21st.dev/assets/mirror/35/3591e0c4b08279a3fb82ff5385e06f697ea50012b87309a14843213c562dcbdc.png";
export default function CinematicHeroDemo() {
const scrollRef = React.useRef<HTMLDivElement>(null);
return (
<div ref={scrollRef} className="w-full h-screen overflow-y-auto overflow-x-hidden">
<CinematicHero
scrollContainerRef={scrollRef}
brandName="designs.here"
tagline1="Good designs."
tagline2="Yours to use."
cardCoverImage={DESIGNS_HERE_OG}
cardCoverAlt="designs.here · Good designs. Yours to use."
cardCoverHref={DESIGNS_HERE_URL}
cardAspectRatio={1200 / 630}
dockCardAtEnd={true}
cardHeading="Crafted interfaces."
cardDescription={
<>
Beautifully crafted interfaces in{" "}
<span className="text-white font-semibold">React, HTML & Figma</span>{" "}
— ready for your next project at{" "}
<a
href={DESIGNS_HERE_URL}
target="_blank"
rel="noopener noreferrer"
className="text-white font-semibold underline decoration-blue-400/60 underline-offset-4 hover:text-blue-300 transition-colors"
>
designs.here
</a>
.
</>
}
phoneEyebrow="Featured"
phoneTitle="designs.here"
phoneAvatar="DH"
phonePreviewImage={DESIGNS_HERE_OG}
phonePreviewAlt="designs.here interface showcase"
phonePreviewTag="PRO & FREE"
metricValue={100}
metricLabel="Ready to Use"
metricSublabel="React · HTML · Figma"
phoneFeatures={[
{
icon: (
<svg
className="w-4 h-4 text-blue-300"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="1.9"
strokeLinecap="round"
strokeLinejoin="round"
aria-hidden="true"
>
<path d="m16 18 6-6-6-6" />
<path d="m8 6-6 6 6 6" />
<path d="m14.5 4-5 16" />
</svg>
),
title: "React & HTML",
subtitle: "Tailwind CSS · Copy & paste",
tag: "TSX",
accent: "blue",
},
{
icon: (
<svg
className="w-4 h-4 text-emerald-300"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="1.9"
strokeLinecap="round"
strokeLinejoin="round"
aria-hidden="true"
>
<path d="M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5z" />
<path d="M12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z" />
<path d="M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0z" />
<path d="M5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0z" />
<path d="M5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z" />
</svg>
),
title: "Figma Design Kits",
subtitle: "Auto-layout · Design tokens",
tag: "FIG",
accent: "emerald",
},
]}
badges={[
{
icon: (
<svg
className="w-4 h-4 lg:w-5 lg:h-5 text-blue-300 drop-shadow-[0_0_8px_rgba(96,165,250,0.65)]"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="1.8"
strokeLinecap="round"
strokeLinejoin="round"
aria-hidden="true"
>
<path d="m12 3-8.5 4.5L12 12l8.5-4.5L12 3z" />
<path d="m3.5 12 8.5 4.5 8.5-4.5" />
<path d="m3.5 16.5 8.5 4.5 8.5-4.5" />
</svg>
),
title: "React & HTML",
subtitle: "Copy-paste ready",
},
{
icon: (
<svg
className="w-4 h-4 lg:w-5 lg:h-5 text-indigo-300 drop-shadow-[0_0_8px_rgba(129,140,248,0.65)]"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="1.8"
strokeLinecap="round"
strokeLinejoin="round"
aria-hidden="true"
>
<path d="M12 20h9" />
<path d="M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z" />
<path d="m15 5 3 3" />
</svg>
),
title: "Figma Included",
subtitle: "Free & Pro kits",
},
]}
ctaHeading="Good designs. Yours to use."
ctaDescription="Beautifully crafted interfaces. Ready for your next project. Available in React, HTML and Figma."
showDitherWave={true}
ctaButtonsVariant="dither"
primaryCta={{
sublabel: "Explore at",
label: "Explore designs.here",
href: DESIGNS_HERE_URL,
target: "_blank",
ariaLabel: "Explore designs.here",
}}
secondaryCta={{
sublabel: "Available in",
label: "React, HTML & Figma",
href: DESIGNS_HERE_URL,
target: "_blank",
ariaLabel: "Browse React, HTML and Figma designs on designs.here",
}}
/>
</div>
);
}
















