UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { ShatterPlate } from "@/components/scenes/shatter-plate";
export default function Background() {
return (
<ShatterPlate
className="h-svh w-full"
coreColor="#ffe7b0"
midColor="#f3efe6"
rimColor="#24407a"
accentColor="#e2b552"
backgroundColor="#06060a"
pieceCount={56}
autoplay={true}
progress={1}
cycleSeconds={8}
holdSeconds={4}
stagger={0.7}
scatter={1}
burst={1}
seed={9}
crack={0.35}
size={1}
gloss={0.8}
seam={1}
backGlow={0.1}
bloom={0.45}
tilt={0.5}
spin={0.12}
follow={0.6}
parallax={0.3}
quality="auto"
/>
);
}Colours
Controls
Autoplay
A full-bleed three.js glazed plate broken into Voronoi fragments that fly back together, the far pieces first and the shards round the impact last, with light showing through the seams like gold repair. The plate holds, shatters from the impact point and mends again on a loop, or follows a Progress control. A click shatters it. Colours, shape and timing are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#ffe7b0" | Seam light |
| midColor | string (hex colour) | "#f3efe6" | Glaze |
| rimColor | string (hex colour) | "#24407a" | Bands |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















