Skip to content

Invert Blocks

A grid of blocks under the text that flip to negative behind the cursor with a bounce, then return in a wave from where you are.

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

Included in Pro and Lifetime. See pricing

Turn it around

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

Props

PropTypeDefaultDescription
childrenstring"Turn it\naround"The headline that flips (line breaks supported).
sizenumber112Maximum letter size, in px (fits to the width).
tilenumber30Size of each block, in px.
gapnumber1Gap between blocks, in px.
brushnumber1.4Reach of the cursor, in blocks.
holdnumber0.7Seconds a block stays in negative before returning.
colorstring"#f4f3ef"Color of the letters.
backgroundstring"#0b0c0f"Background color.
autoplaybooleantrueIf there is no cursor, an invisible brush sweeps the scene and sends waves.

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 Blocks

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

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 liquid drop follows the cursor and inverts the text beneath it; with fast movements it stretches, splits into beads and bounces.

    Negative

  • 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