Ravi Katiyar

Video in Text Effect

Text

About

This is a “video masking in text” technique where a video is clipped within the shape of the text. The background remains plain (typically white or black), while the text displays dynamic video content inside it.

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

Code

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

Usage.tsx

import { VideoText } from "@/components/ui/video-in-text-effect"; // Adjust path as needed

export default function VideoTextDemo() {
  return (
    <div className="flex h-screen w-full items-center justify-center rounded-lg bg-white p-8">
      <VideoText src="https://cdn.21st.dev/assets/mirror/6f/6f1d266b4d9320529feb5beece8f9d9d0a2b3987c05d4f7b5d56841168cad69b.mp4">
        Ravi Katiyar
      </VideoText>
    </div>
  );
}

More by Ravi Katiyar

View all
  • Animated Shader Hero

    Animated Shader Hero

    3.8K
  • Hero

    Hero

    3.4K
  • Circular Gallery

    Circular Gallery

    3K
  • Minimalist Hero

    Minimalist Hero

    2.8K
  • 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 Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Text Reveal

    Text Reveal

    31
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Scroll Fill Headline

    Scroll Fill Headline

    44
  • Shine Border

    Shine Border

    1K
  • Split text

    Split text

    79
  • Motion Blur Text

    Motion Blur Text

    47