Rendyn

Component library

189 components

Interaction

Spinning Text

Spinning Text arranges supplied characters around a circular path.

Interactive exampleReact Tailwind CSS

Practical React example

Place a brief decorative label around a static product mark.

Before you copy and paste

Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/spinning-text.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.

Place a brief decorative label around a static product mark

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

import { SpinningText } from "@/components/magicui/spinning-text"

export function ComponentExample() {
  return (
    <SpinningText>learn more • earn more • grow more •</SpinningText>
  );
}

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

Choose a radius that leaves the text readable and reserve the full circle’s space. Keep the core message elsewhere in ordinary text.

Customization

SpinningTextProps.children
Required; string | string[].
SpinningTextProps.duration
Optional; number.
SpinningTextProps.reverse
Optional; boolean.
SpinningTextProps.radius
Optional; number.
SpinningTextProps.transition
Optional; Transition.
SpinningTextProps.variants
Optional; { container?: Variants item?: Variants }.

Integration notes

  • Circular moving text is a poor place for required navigation or detailed instructions.
  • Test reduced motion and narrow layouts where the circle could clip.

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