animbits

Word Carousel Text

Text 132

About

An inline text animation that cycles through a list of words with a smooth vertical fade-and-slide transition.

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

Code

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

Usage.tsx

import { TextWordCarousel } from "@/components/ui/text-word-carousel";

export default function Default() {
  return (
    <div className="flex min-h-[300px] w-full items-center justify-center p-8">
      <h1 className="text-4xl font-semibold tracking-tight sm:text-5xl">
        Build something{" "}
        <TextWordCarousel
          words={["beautiful", "powerful", "delightful", "amazing"]}
          interval={2}
          className="text-primary"
        />
      </h1>
    </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
  • Text Highlight

    Text Highlight

    110
  • Image Text

    Image Text

    81
  • 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