Skip to content

Invert Trail

A chain of circles that invert whatever they touch and shrink behind the cursor; where they overlap, the text goes back to normal and draws op-art ripples.

Plan
Pro · commercial license
Dependencies
React only
Props
10 (10 adjustable)

Included in Pro and Lifetime. See pricing

Leave your mark

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
childrenstring"Leave your\nmark"The headline that gets inverted (line breaks supported).
sizenumber110Maximum letter size, in px (fits to the width).
radiusnumber40Radius of the head bead, in px.
beadsnumber11Number of beads in the trail.
lagnumber36Delay between beads, in ms (more = a longer, more spread-out trail).
colorstring"#f4f3ef"Color of the letters.
backgroundstring"#0b0c0f"Background color.
lensColorstring"#ffffff"Color the beads invert with (white = pure negative).
mergebooleanfalseMerges the beads into a single blob (otherwise, where they overlap the text goes back to normal).
autoplaybooleantrueIf there is no cursor, the trail draws loops on its own.

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Invert Trail

npx shadcn@latest add @furin-pro/invert-trail

Dependencies

React
18 or later
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • Diagonal bars sweep across the headline at full speed, inverting the letters as they pass, and a wide bar brakes to a stop with a bounce.

    Negative

  • A photocopier-style band of light sweeps across the text, inverting it and warping it with speed-driven line cuts.

    Negative

  • Blind slats that rotate in 3D, bounce, and alternate the text with its negative; run the cursor over them to flip them one by one.

    Negative