About
Draw a glowing ring of drifting smoke around a logo, avatar, or status.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Smoke Ring to your project and fits it to your theme.
Code
How Smoke Ring is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import SmokeRing from "@/components/ui/honest-smoke-ring";
interface SmokeRingSettings {
colors: string[];
radius: number;
thickness: number;
noiseScale: number;
turbulence: number;
innerGlow: number;
speed: number;
paused: boolean;
}
const defaults: SmokeRingSettings = {
colors: ["#ffffff", "#b4bcfa", "#5560cf"],
radius: 0.26,
thickness: 0.45,
noiseScale: 3,
turbulence: 0.6,
innerGlow: 0.35,
speed: 0.6,
paused: false,
};
export default function SmokeRingDemo() {
const settings = defaults;
return (
<div className="flex min-h-[420px] w-full items-center justify-center p-6">
<div className="h-80 w-full max-w-xl overflow-hidden rounded-xl">
<div className="size-full bg-[#0c0d14]">
<SmokeRing className="size-full" {...settings} />
</div>
</div>
</div>
);
}
















