Rendyn

Component library

189 components

Interaction

Word Rotate

Word Rotate transitions through the supplied words on an interval.

Interactive exampleReact Tailwind CSS

Practical React example

Cycle a few optional descriptors beside a static phrase.

Before you copy and paste

Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/word-rotate.tsx and its returned support files from the Code tab; preserve the project-relative paths.

Listed package dependencies: motion.

Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.

Cycle a few optional descriptors beside a static phrase

// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';

import { WordRotate } from "@/components/magicui/word-rotate"

export function ComponentExample() {
  return (
    <WordRotate words={["Word", "Rotate"]} />
  );
}

Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.

Keep the main meaning outside the rotating word and reserve enough width for the longest entry. Choose timing that allows the text to be read.

Customization

WordRotateProps.words
Required; string[].
WordRotateProps.duration
Optional; number.
WordRotateProps.motionProps
Optional; MotionProps.
WordRotateProps.className
Optional; string.

Integration notes

  • Do not cycle required legal terms, prices or error instructions.
  • Test reduced motion and whether the changing content causes repeated announcements.

Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.

Better with your agent

Give your agent taste.

The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.

All components are free. Sign up only to connect MCP.

Connect to MCP