Skip to content

Iron Filings

Thousands of steel filings align to the field of a real magnet (a dipole) that follows the cursor: field lines between poles, anisotropic shine, a bounce when it moves, and a 180° flip on click.

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

Included in Pro and Lifetime. See pricing

Fatal attraction

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

Props

PropTypeDefaultDescription
filingColorstring"#8e9bb0"Base color of the filings' steel.
backgroundstring"#0d0f12"Background color of the table.
glowColorstring"#ffa24d"Color of the warm halo under the magnet.
densitynumber1Number of filings (1 = about 6,500 at 900×420 px).
strengthnumber1Reach of the magnet's field (1 = normal).
scrimnumber0.5Darkens the center under the content so it stays readable (0 to 1).
flipOnClickbooleantrueIf true, a click flips the magnet and the filings turn 180° with a bounce.
autoplaybooleantrueIf true, the magnet wanders on its own when there is no cursor.
interactivebooleantrueIf true, the magnet follows the cursor.

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 Iron Filings

npx shadcn@latest add @furin-pro/iron-filings

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

  • Analog film light leaks that float over your content in screen mode, with 12-frame flicker, edge streaks, dust and scratches.

    Backgrounds

  • Polished marble whose veins drift slowly, with a lightbox reflection that sweeps across the stone and follows the cursor.

    Backgrounds

  • A city at night in layers of depth: warm and cool windows that switch on and off on their own, flickering screens and cursor parallax.

    Backgrounds