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.9K
  • Hero

    Hero

    3.5K
  • Circular Gallery

    Circular Gallery

    3K
  • Minimalist Hero

    Minimalist Hero

    2.8K
  • Glass Calendar

    Glass Calendar

    2.1K
  • 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
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    16
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Blur Reveal

    Blur Reveal

    401
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Text Reveal

    Text Reveal

    411
  • Per Word Crossfade

    Per Word Crossfade

    20
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    77
  • Apple Hello Effect

    Apple Hello Effect

    692