Roll Button

Roll Button from the Buttons group of Depth UI.

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

RollButton props

PropTypeDefaultDescription
childrenstringButton label. Must be a plain string, since each letter is animated.
staggernumber18Delay between letters in ms.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks