Liquid Cursor

A gooey liquid blob effect that follows your cursor inside a container. Supports theme-aware colors.

npx arupui add liquid-cursor
Preview

Move your cursor here

Usage

liquid-cursor.tsx
import { LiquidCursor } from "@/components/blocks/liquid-cursor"

<LiquidCursor className="h-96 rounded-lg">
  <div className="flex h-full items-center justify-center">
    <h2 className="text-2xl font-bold">Hover me</h2>
  </div>
</LiquidCursor>

Props

colors
Type: string[]Default: theme colors
particleSize
Type: [number, number]Default: [10, 30]
decayRate
Type: numberDefault: 0.01
blurAmount
Type: numberDefault: 10
Theme Editor

Theme

Radius0.5rem
Letter Spacing0em

Colors

light