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 { Sunburst } from "@/components/effects/sunburst/sunburst";
export default function Background() {
return (
<Sunburst
className="h-svh w-full"
color1="#2a1c3e"
color2="#e3552c"
color3="#f19a3e"
sunColor="#f6c54a"
colorCount={2}
rayCount={24}
unevenness={0.6}
twist={0}
sunX={0.5}
sunY={1.08}
sunSize={0.18}
rings={2}
speed={1}
pull={0.7}
pulseStrength={1}
interactive={true}
/>
);
}Colours
Controls
Retro poster rays in flat colour turn slowly around a sun just past the frame edge. The sun rises toward the cursor, swinging every ray with it, and a click ripples a twist out along the rays. One shared WebGL2 context, pauses off screen, a composed still frame under reduced motion, CSS fallback.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color1 | string (hex colour) | "#2a1c3e" | First ray colour; the rays alternate between this and the next. |
| color2 | string (hex colour) | "#e3552c" | Second ray colour, alternating with the first. |
| color3 | string (hex colour) | "#f19a3e" | Third ray colour, used when the rays cycle through three colours. |
| sunColor |























