UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { EmberField } from "@/components/scenes/ember-field";
export default function Background() {
return (
<EmberField
className="h-svh w-full"
coreColor="#fff1c2"
midColor="#ff7a1f"
rimColor="#8f1d12"
accentColor="#ffd68a"
backgroundColor="#0a0503"
blending="additive"
count={9000}
width={9}
height={6}
pointSize={2}
brightness={1.6}
flicker={0.6}
fog={0.4}
bloom={0}
rise={0.35}
draught={0.5}
noiseScale={0.45}
sway={0.3}
cursorPull={0.8}
quality="auto"
/>
);
}Colours
Controls
Blend
A full-bleed three.js field of sparks rising from below, cooling and shrinking as they climb. A curl-noise draught makes them swirl, and the cursor draws them in and fans them hotter. Glows on dark backgrounds or drifts as ash on light ones; optional bloom.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff1c2" | Hot |
| midColor | string (hex colour) | "#ff7a1f" | Middle |
| rimColor | string (hex colour) | "#8f1d12" | Cool |
| accentColor | string (hex colour) | "#ffd68a" |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















