animbits

Image Text

Text 81

About

Large heading text filled with an animated image mask that pans and can cycle between multiple photos.

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

Code

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

Usage.tsx

import { ImageText } from "@/components/ui/image-text";

export default function Default() {
  return (
    <div className="flex min-h-[400px] w-full items-center justify-center bg-neutral-950 p-8">
      <ImageText
        text="Velocity"
        imageUrl="https://cdn.21st.dev/assets/mirror/6b/6bee424aed70617b7512c3332ce44afbf6b5d5fa2af64cb16e446ec3cba10e31.jpg"
        direction="diagonal"
        className="text-8xl font-black tracking-tighter"
      />
    </div>
  );
}

Dependencies

More by animbits

View all
  • Dia Text

    Dia Text

    220
  • Gooey Blobs Loader

    Gooey Blobs Loader

    191
  • Linear Carousel

    Linear Carousel

    162
  • Skeleton Loader

    Skeleton Loader

    149
  • Word Carousel Text

    Word Carousel Text

    132
  • Text Highlight

    Text Highlight

    110
  • Morphing Loader

    Morphing Loader

    63
  • SVG Text Draw

    SVG Text Draw

    59

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