Skip to content

    Browse components

    Lava Gloss

    Smooth, glossy plasma flowing through a three-color palette; the cursor twists it into a whirlpool. WebGL.

    Lava Gloss

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/lava-gloss

    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/lava-gloss.json

    Usage

    import { LavaGloss } from "@/components/ui/lava-gloss";
    
    <div className="relative h-96">
      <LavaGloss colorA="#6d28d9" colorB="#ec4899" colorC="#06b6d4" />
    </div>

    Props

    PropTypeDefaultDescription
    colorAstring"#6d28d9"First palette color.
    colorBstring"#ec4899"Second palette color.
    colorCstring"#06b6d4"Third palette color.
    speednumber1Animation speed multiplier.
    scalenumber1Pattern zoom.
    mouseStrengthnumber1Cursor twist strength.
    classNamestring—Extra classes for the root element.