threecn

Crystal

A faceted glass crystal with real refraction (physical transmission) and a glowing inner core, tinted with --primary. Self-contained and theme-aware.

A faceted glass crystal with real refraction (physical transmission) and a glowing inner core, tinted with --primary. Self-contained and theme-aware.

Fullscreen

Customize

Speed1
Roughness0.05
IOR1.7

Props

speednumber

Rotation speed multiplier.

Default1
roughnessnumber

Glass surface roughness (0 = mirror-clear).

Default0.05
iornumber

Index of refraction (how much light bends).

Default1.7
classNamestring

Classes for the wrapper element (set its height here).

Default
theme"auto" | "light" | "dark"

Color source. auto reads the live shadcn theme.

Default"auto"