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.8K
  • Hero

    Hero

    3.4K
  • Circular Gallery

    Circular Gallery

    2.9K
  • Minimalist Hero

    Minimalist Hero

    2.7K
  • Glass Calendar

    Glass Calendar

    2K
  • 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
  • SaaS Template

    SaaS Template

    2.7K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Editorial Collage Hero

    Editorial Collage Hero

    504
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero

    Hero

    1.3K
  • Aero Hero-3

    Aero Hero-3

    617
  • Hero 03

    Hero 03

    375
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442