Browse components
Lava Gloss
Smooth, glossy plasma flowing through a three-color palette; the cursor twists it into a whirlpool. WebGL.
Lava Gloss
Installation
npx shadcn@latest add @glint-ui/lava-glossFirst 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
| Prop | Type | Default | Description |
|---|---|---|---|
| colorA | string | "#6d28d9" | First palette color. |
| colorB | string | "#ec4899" | Second palette color. |
| colorC | string | "#06b6d4" | Third palette color. |
| speed | number | 1 | Animation speed multiplier. |
| scale | number | 1 | Pattern zoom. |
| mouseStrength | number | 1 | Cursor twist strength. |
| className | string | — | Extra classes for the root element. |