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 { BreathRing } from "@/components/effects/breath-ring/breath-ring";
export default function Background() {
return (
<BreathRing
className="h-svh w-full"
colorA="#8b5cf6"
colorB="#22d3ee"
lightColor="#f4f1ff"
backgroundColor="#07060d"
state="idle"
ringSize={1}
thickness={1}
softness={0.6}
breatheSpeed={1}
swirlSpeed={1}
orbitSpeed={1}
glow={0.8}
grain={0.3}
reach={0.8}
clickRipple={1}
interactive={true}
offsetX={0}
offsetY={0}
/>
);
}Colours
Controls
A soft ring of swirling colour that breathes like something alive, with a light circling its rim. It leans toward the cursor and a click sends ripples round it. Idle, listening, thinking and speaking manners. Low-resolution render on a shared WebGL context, pauses off screen, one still frame under reduced motion.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| colorA | string (hex colour) | "#8b5cf6" | First colour of the swirling band of the ring. |
| colorB | string (hex colour) | "#22d3ee" | Second colour of the band; the two stream into each other round the ring. |
| lightColor | string (hex colour) | "#f4f1ff" | Colour of the light that circles the rim and of its short trail. |
| backgroundColor |























