honestui

Word Rotate

Component

About

A word that changes in place every few seconds with a slide, a blur, or a fade.

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

Code

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

Usage.tsx

"use client";

import { WordRotate } from "@/components/ui/honest-word-rotate";

const WORDS = ["designers", "engineers", "product teams", "everyone"];

export default function WordRotateDemo() {
  return (
    <div className="flex w-full max-w-md flex-col gap-5">
      <h3 className="text-2xl font-semibold tracking-tight text-foreground sm:text-3xl">
        Built for <WordRotate words={WORDS} className="text-muted-foreground" />
      </h3>
      <div className="grid gap-2 border-t border-border pt-4 text-sm text-muted-foreground">
        <p>
          Blur:{" "}
          <WordRotate
            variant="blur"
            interval={2000}
            words={["Syncing", "Indexing", "Ready"]}
            className="font-medium text-foreground"
          />
        </p>
        <p>
          Fade:{" "}
          <WordRotate
            variant="fade"
            interval={2800}
            pauseOnHover
            words={["3 reviewers", "12 comments", "1 approval"]}
            className="font-medium text-foreground"
          />
        </p>
      </div>
    </div>
  );
}

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    30
  • Schedule Builder

    Schedule Builder

  • Audit Log

    Audit Log

  • Secret Row

    Secret Row

  • Undoable Action

    Undoable Action

  • OTP Field

    OTP Field

  • Audio Orb

    Audio Orb

  • AI Glow Border

    AI Glow Border