Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

Rolling Text

3D character rolling animation with realistic rotation transforms for React applications.

Characters roll in place with satisfying 3D physics, like mechanical departure boards at train stations. Each character performs a rotateX animation—the current character flips up and away while the new character rolls in from below. Uses CSS perspective and backface-hidden for realistic 3D depth. Supports scroll-triggered animation via intersection observer, with staggered timing that creates a wave effect across the text. Built with Motion for React. Perfect for hero text reveals, loading states, or anywhere needing that satisfying mechanical flip aesthetic.

Rolling Text preview

Scroll to load preview

Installation

FAQ