Kavi Katiyar

Hero Video Background

Heroes

About

Hero Video Background A full-screen, responsive hero component that plays a video in the background. It features a customizable, animated title and a call-to-action button, designed to be theme-adaptive and accessible.

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

Code

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

Usage.tsx

import { HeroVideoBackground } from "@/components/ui/hero-video-background"; // Adjust path as needed

export default function HeroVideoDemo() {
  return (
    <HeroVideoBackground
      // A placeholder video from Pexels. Replace with your own video URL.
      videoSrc="https://www.pexels.com/download/video/854696/"
      heading="Creative innovation for a regenerative future"
      buttonText="Explore our work"
      buttonHref="#work"
    />
  );
}

Dependencies

More by Kavi Katiyar

View all
  • 3D Card

    3D Card

    982
  • Bento Product Features

    Bento Product Features

    831
  • Testimonial Slider

    Testimonial Slider

    716
  • Card

    Card

    608
  • Order Confirmation Card

    Order Confirmation Card

    504
  • Project Detail View

    Project Detail View

    408
  • Animated Card

    Animated Card

    394
  • State

    State

    393

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

    213
  • HeroSectionWithGradient

    HeroSectionWithGradient

    336
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    285