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

    1K
  • Bento Product Features

    Bento Product Features

    835
  • Testimonial Slider

    Testimonial Slider

    718
  • Card

    Card

    613
  • Order Confirmation Card

    Order Confirmation Card

    510
  • Project Detail View

    Project Detail View

    414
  • Animated Card

    Animated Card

    402
  • State

    State

    395

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.5K
  • Hero

    Hero

    1.3K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    968
  • Aero Hero-3

    Aero Hero-3

    576
  • Hero 03

    Hero 03

    328
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    296