Theme & toggle

Light and dark themes run on CSS variables. Flip the toggle here or in the header.

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

ThemeProvider props

PropTypeDefaultDescription
childrenReactNodeContent that can read and change the theme.

ThemeToggle props

PropTypeDefaultDescription
classNamestringExtra classes added to the toggle button.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks