Ravi Katiyar

Hero

Heroes 1

About

Full-screen slider showcasing species with immersive photography and minimal typography. Ideal for conservation websites, awareness campaigns, or storytelling experiences.

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

Code

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

Usage.tsx

import { HeroSlider, type HeroSlide, type NavigationItem } from "@/components/ui/hero";

const WildlifeSliderDemo = () => {
  const wildlifeSlides: HeroSlide[] = [
    {
      title: "Amur Leopard",
      subtitle: "Species",
      status: "Critically Endangered",
      image: "https://cdn.21st.dev/assets/mirror/b7/b72e50fe5c298943bd15e50c2632858a51e6a61d5d7bd00692021313e2992464.jpg"
    },
    {
      title: "Asiatic Lion",
      subtitle: "Species",
      status: "Endangered",
      image: "https://cdn.21st.dev/assets/mirror/1f/1fbfc83ba26f68d7eda60c598607bcc3474390e5070c4bef04c0e4bc46e56346.jpg"
    },
    {
      title: "Siberian Tiger",
      subtitle: "Species",
      status: "Endangered",
      image: "https://cdn.21st.dev/assets/mirror/98/9824d82607cb1ee5ebe66aa15dbc3f2437510ef324fd9c40a5557baad5cb7bc5.jpg"
    },
    {
      title: "Brown Bear",
      subtitle: "Species",
      status: "Least Concern",
      image: "https://cdn.21st.dev/assets/mirror/3e/3e0313580a111d171fa09273b1c7a4ebac5672da34444709e13a12eefce665cf.jpg"
    }
  ];

  const navigation: NavigationItem[] = [
    { label: "Species", href: "#", active: true },
    { label: "About Us", href: "#" },
    { label: "Our Work", href: "#" },
    { label: "Get Involved", href: "#" }
  ];

  return (
    <HeroSlider
      slides={wildlifeSlides}
      logo="W"
      navigation={navigation}
      ctaLink={{ label: "Donate", href: "#" }}
      showCounter={true}
      showPagination={true}
      autoPlay={true}
      autoPlayInterval={6000}
    />
  );
};

export default WildlifeSliderDemo;

More by Ravi Katiyar

View all
  • Animated Shader Hero

    Animated Shader Hero

    3.9K
  • Hero

    Hero

    3.5K
  • Circular Gallery

    Circular Gallery

    3K
  • Minimalist Hero

    Minimalist Hero

    2.8K
  • Glass Calendar

    Glass Calendar

    2.1K
  • Floating Icons Hero Section

    Floating Icons Hero Section

    2K
  • Feature Carousel

    Feature Carousel

    1.8K
  • AI Image Generator Hero

    AI Image Generator Hero

    1.5K

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Real Estate 3D Hero

    Real Estate 3D Hero

    89
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    37
  • App Integration Celestial Hero

    App Integration Celestial Hero

    17
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • Hero

    Hero

    1.4K