About
Animates text in a circular motion with customizable speed, direction, radius, and transitions for dynamic circular typography effects.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Spinning Text to your project and fits it to your theme.
Code
How Spinning Text is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { SpinningText } from "@/components/ui/spinning-text";
export default function SpinningTextBasic() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center bg-background text-foreground">
<SpinningText reverse className="text-4xl" duration={4} radius={6}>
learn more • earn more • grow more •
</SpinningText>
</div>
);
}















