Skip to content

Invert Lens

A liquid drop follows the cursor and inverts the text beneath it; with fast movements it stretches, splits into beads and bounces.

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

Included in Pro and Lifetime. See pricing

Everything has a negative

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

Props

PropTypeDefaultDescription
childrenstring"Everything has\na negative"The headline that gets inverted (line breaks supported).
sizenumber76Maximum letter size, in px (fits to the width).
radiusnumber70Radius of the lens, in px.
stretchnumber1How much the drop stretches with speed (0 to 2).
colorstring"#f4f3ef"Color of the letters.
backgroundstring"#0b0c0f"Background color.
lensColorstring"#ffffff"Color the lens inverts with (white = pure negative).
autoplaybooleantrueIf there is no cursor, the drop hops around the scene 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 Lens

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

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

  • 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.

    Negative

  • 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