Gloop Trail
Web (React)
A pooled ink trail that follows the pointer, shading from the theme ink toward muted grey.
An ink trail that follows the pointer. Each step of the trail shades from your theme ink toward the muted token. It uses a custom SVG feGaussianBlur and feColorMatrix filter to blend multiple trailing DOM elements into a single fluid "pool" that follows your cursor physics.
Pointer study
Leave a trace
Ink pools and follows wherever you go.
Installation
CLI
npx @modus-ui/cli add gloop-trailManual
- Copy the code from the component tab.
- Create a file at
components/ui/gloop-trail.tsx. - Paste the code.
Usage
tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
blobType | "circle" | "square" | "almond" | "circle" | Shape of the trailing drops. |
fillColor | string | "hsl(var(--primary))" | Ink colour at the head of the trail. |
Comments