UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { ShardField } from "@/components/scenes/shard-field";
export default function Background() {
return (
<ShardField
className="h-svh w-full"
coreColor="#fff1c9"
midColor="#ff6a1f"
rimColor="#8a5cff"
accentColor="#ffd9b0"
backgroundColor="#060406"
cells={110}
seed={5}
thickness={0.22}
gap={0.03}
heat={1}
edgeGlow={1}
gloss={0.75}
tint={0.25}
bloom={0.7}
speed={0.12}
lift={1}
spread={1}
tumble={1}
ripple={1}
burst={1}
parallax={0.35}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js slab of dark glass cracked into Voronoi shards. Waves roll across it, lifting, tilting and parting the shards over a molten glow before they settle back and close; a click cracks it open around the cursor. Colours, shape and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff1c9" | Molten core |
| midColor | string (hex colour) | "#ff6a1f" | Glow |
| rimColor | string (hex colour) | "#8a5cff" | Glass tint |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















