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

    2.9K
  • Minimalist Hero

    Minimalist Hero

    2.7K
  • 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
  • Motion Blur Text

    Motion Blur Text

    45
  • Rainbow Text Effect

    Rainbow Text Effect

    58
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    132
  • NeonRGBTextEffect

    NeonRGBTextEffect

    154
  • Text Reveal

    Text Reveal

    369
  • Aero Hero-3

    Aero Hero-3

    617
  • Blur Reveal

    Blur Reveal

    360
  • Scroll Fill Headline

    Scroll Fill Headline

    11