Ravi Katiyar

Video Hero Section

Heroes 1

About

Video Hero Section This is a full-screen hero section component featuring a video background, animated text overlays, and app store links. It's designed to be easily reused by passing different content through props.

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

Code

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

Usage.tsx

// demo.tsx

import { ZomatoHero } from "@/components/ui/video-hero-section"; // Adjust the import path as needed

const ZomatoHeroDemo = () => {
  return (
    <div className="w-full h-screen bg-background">
      <ZomatoHero
        // A placeholder food video from Pexels
        videoSrc="https://cdn.21st.dev/assets/mirror/f9/f946ac036839260c3e26108803597d0d5a58be6f32a8820565f76a9350cf723c.mp4"
        // Zomato logo from a reliable CDN
        logoSrc="https://cdn.21st.dev/assets/mirror/55/552537e1cd8aa947f98c442afb1a667f36a483faf7bb3fdf65c89c4f0a7b85f0.png"
        subtitle="India's #1 food delivery app"
        description="Experience fast & easy online ordering on the Zomato app"
        googlePlayLink="https://21st.dev/ravikatiyar"
        appStoreLink="https://21st.dev/ravikatiyar"
      />
      {/* You can add more sections below to test the 'Scroll down' functionality */}
      {/* <div className="h-screen bg-background p-8"><h2 className="text-2xl">Next Section</h2></div> */}
    </div>
  );
};

export default ZomatoHeroDemo;

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
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    932
  • Editorial Collage Hero

    Editorial Collage Hero

    431
  • Glass Fold

    Glass Fold

    212
  • HeroSectionWithGradient

    HeroSectionWithGradient

    336
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    285