From Infinity UI by Infinity UI, LicenseRef-InfinityUI license.
UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { CrystalCluster } from "@/components/scenes/crystal-cluster";
export default function Background() {
return (
<CrystalCluster
className="h-svh w-full"
coreColor="#fff4e0"
midColor="#b48cff"
rimColor="#5a7dff"
accentColor="#ff7ad9"
backgroundColor="#06040c"
count={34}
length={1.5}
girth={1}
seed={11}
ior={1.6}
dispersion={3}
roughness={0.08}
thickness={0.8}
glow={1.6}
innerGlow={0.9}
backGlow={0.18}
coreSize={0.42}
reflections={1.2}
bloom={0.45}
spin={0.12}
breathe={0.06}
tilt={0.5}
burst={1}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js cluster of faceted glass crystals bursting out of a glowing core like a split geode. The core's light bends through the glass and blooms; the cluster turns toward the cursor and a click pushes the crystals outward. Glass, colours and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff4e0" | Core light |
| midColor | string (hex colour) | "#b48cff" | Crystal tint |
| rimColor | string (hex colour) | "#5a7dff" | Reflection 1 |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















