VisorVisor
ComponentsDeck

ConceptSlide

A slide with auto-playing muted video background and text overlay.

Features

  • Auto-playing muted video background — looping video plays without audio
  • Text overlay — content renders on top of the video
  • Scale animation on visibility — video scales up when the slide enters the viewport

Installation

npx visor add deck-concept-slide

Usage

import { ConceptSlide } from '@/components/deck/concept-slide/concept-slide';

export default function Example() {
  return (
    <ConceptSlide
      id="concept"
      theme="dark"
      video="/videos/demo-reel.mp4"
      poster="/images/demo-poster.jpg"
    >
      <h2>Our Vision</h2>
      <p>Building the future, one pixel at a time.</p>
    </ConceptSlide>
  );
}

API Reference

PropTypeDefaultDescription
idstringUnique slide identifier
theme"light" | "dark""light"Color theme for overlay text
videostringURL of the background video
posterstringPoster image shown before video loads
childrenReactNodeOverlay content
classNamestringAdditional CSS class