Text Cylinder

Words around a vertical cylinder, like a slot reel. Drag it, or hover to pause.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

TextCylinder3D props

PropTypeDefaultDescription
wordsstring[]Words printed around the cylinder, one per row.
itemHeightnumber64Height of one row in px.
speednumber24Degrees per second. 0 disables.
classNamestringExtra classes added to the outer element.
wordClassNamestringExtra classes added to each word.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks