Gyroscope

Three nested rings turning on different axes around a glowing core. Pure CSS, so no JavaScript runs per frame.

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

Gyroscope3D props

PropTypeDefaultDescription
sizenumber220Outer ring diameter in px.
secondsnumber9Seconds per turn of the outer ring. Inner rings run faster.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks