Ravi Katiyar

Hero Section

Heroes 779

About

Animated Roadmap This component visualizes a series of milestones on a path, with animations that trigger on scroll. It's designed to be highly reusable—you can pass any number of milestones with different statuses and positions.

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

Code

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

Usage.tsx

// demo.tsx
import { AnimatedRoadmap } from "@/components/ui/hero-section-5"; // Adjust the import path
import { Button } from "@/components/ui/button"; // Assuming shadcn Button component

const milestonesData = [
  {
    id: 1,
    name: "Kick-off",
    status: "complete",
    position: { top: "70%", left: "5%" },
  },
  {
    id: 2,
    name: "Design",
    status: "complete",
    position: { top: "15%", left: "20%" },
  },
  {
    id: 3,
    name: "Development",
    status: "in-progress",
    position: { top: "45%", left: "55%" },
  },
  {
    id: 4,
    name: "Launch",
    status: "pending",
    position: { top: "10%", right: "10%" },
  },
];

const HeroSectionDemo = () => {
  return (
    <div className="w-full bg-background text-foreground">
      {/* Container for the Hero Content */}
      <div className="container mx-auto flex flex-col items-center px-4 py-16 text-center md:py-24">
        <h1 className="text-4xl font-bold tracking-tight md:text-6xl lg:text-7xl">
          Stay ahead with a <span className="bg-primary/20 p-2 rounded-md">clear</span> product plan
        </h1>
        <p className="mt-6 max-w-2xl text-lg text-muted-foreground md:text-xl">
          Visualize your roadmap, assign tasks, and hit every milestone—faster and smarter.
        </p>
        <div className="mt-8 flex flex-wrap justify-center gap-4">
          <Button size="lg">Get started - it&apos;s free!</Button>
          <Button size="lg" variant="outline">
            See how it works
          </Button>
        </div>
      </div>

      {/* Animated Roadmap Component Demo */}
      <AnimatedRoadmap
        milestones={milestonesData}
        mapImageSrc="https://www.thiings.co/_next/image?url=https%3A%2F%2Flftz25oez4aqbxpq.public.blob.vercel-storage.com%2Fimage-SsfjxCJh43Hr1dqzkbFWUGH3ICZQbH.png&w=320&q=75"
        aria-label="An animated roadmap showing project milestones from kick-off to launch."
      />
    </div>
  );
};

export default HeroSectionDemo;

Dependencies

More by Ravi Katiyar

View all
  • Animated Shader Hero

    Animated Shader Hero

    3.7K
  • Hero

    Hero

    3.1K
  • Circular Gallery

    Circular Gallery

    2.7K
  • Minimalist Hero

    Minimalist Hero

    2.5K
  • Floating Icons Hero Section

    Floating Icons Hero Section

    1.9K
  • Glass Calendar

    Glass Calendar

    1.8K
  • Feature Carousel

    Feature Carousel

    1.7K
  • AI Image Generator Hero

    AI Image Generator Hero

    1.4K

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    924
  • Hero

    Hero

    1.2K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero Section 6

    Hero Section 6

    881
  • Hero Golden Spiral

    Hero Golden Spiral

    101
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    284
  • Home Section

    Home Section

    65