Skip to content

Pulse dot

Notification dot with an organic breathing pulse ring that expands and fades on a sine wave. Colour follows cursor position unless a fixed colour is provided.

  • requestAnimationFrame
  • Sine Easing
  • pastelColour

pulse-dot

cursor-reactive

fixed colours

Top row follows your cursor. Bottom row stays fixed.

Usage

Drop it in

import
import { PulseDot } from "@/app/lib/components/pulse-dot";
example 1
<PulseDot />
<PulseDot size={12} colour="#7dd3fc" />

API

Props

PropTypeDefault
size

Dot diameter in pixels

number8
colour

Fixed colour — if omitted, uses cursor-reactive pastelColour

string—
className

Additional class names on the wrapper

string""

Read from the component's source at build time. * required.

Accessibility

Works with

Cursor
Reacts to where the pointer is, not just whether it's over the element.
Touch
Follows your finger while it's down, then settles a moment after you lift.
Keyboard
Focus lights it up the way the cursor does. Every action has a key.
Reduced motion
Nothing moves or springs. Colour still answers, without drifting.