Skip to content

    Browse components

    Smoke Column

    A tall column of light filled with slowly swirling volumetric smoke. WebGL.

    Smoke Column

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/smoke-column

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/smoke-column.json

    Usage

    import { SmokeColumn } from "@/components/ui/smoke-column";
    
    <div className="relative h-96">
      <SmokeColumn topColor="#a78bfa" bottomColor="#22d3ee" />
    </div>

    Props

    PropTypeDefaultDescription
    topColorstring"#a78bfa"Color at the top of the pillar.
    bottomColorstring"#22d3ee"Color at the bottom of the pillar.
    widthnumber0.32Width as a fraction of the container height.
    intensitynumber1Brightness.
    speednumber1Animation speed multiplier.
    twistnumber2.5How much the smoke swirls around the axis.
    anglenumber0Rotation in degrees.
    classNamestring—Extra classes for the root element.