honestui

Smoke Ring

Shaders

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>
  );
}

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    31
  • Warp

    Warp

    1
  • Schedule Builder

    Schedule Builder

  • Audit Log

    Audit Log

  • Secret Row

    Secret Row

  • Undoable Action

    Undoable Action

  • OTP Field

    OTP Field

  • Audio Orb

    Audio Orb

More in Shaders

View all
  • Glass Fold

    Glass Fold

    593
  • Shader Animation

    Shader Animation

    3.9K
  • Fluted Glass App Download

    Fluted Glass App Download

  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • LightSpeed

    LightSpeed

    253
  • Illos Knowledge Sources

    Illos Knowledge Sources

    76
  • Shader Lines

    Shader Lines

    2.5K
  • Wave

    Wave

    730