Pricing
Get Started
  • Introduction
  • Installation
  • MCP Server
  • Saved
Site
  • Builder (Beta)
  • Pricing
  • Roadmap
  • Affiliates
Browse
  • All Components25 New
Text32
Reveal & Decode11
  • Blur Highlight
  • Cipher Reveal
  • Ghost Type
  • Glyph Lottery
  • Luminous Type
  • Signal Type
  • Smoke Type
  • Staggered Text
  • Text Morph
  • Typographic Wall
  • Vapor Type
Kinetic & 3D11
  • 3D Letter Swap
  • 3D Text Reveal
  • Bending Marquee
  • Mesh Lettering
  • Orbital Type
  • Ribbon Type
  • Rising Ink
  • Speeding Text
  • Text Cube
  • Text Path
  • Wave Lettering
Interactive & Physics10
  • ASCII Ripple
  • Domino Lettering
  • Elastic Lettering
  • Glitch Text
  • Gravity Letters
  • Particle Text
  • Shatter Type
  • Spring Lettering
  • Stipple Type
  • Text Scatter
Backgrounds106
Gradients & Fluids21
  • Aura Blob
  • Aurora Blur
  • Chroma Waves
  • Cloud Atlas
  • Color Loops
  • Glowing Ridges
  • Gradient Bars
  • Gradient Blob
  • Grain Wave
  • Liquid Bars
  • Minimal Ripple
  • Radial Liquid
  • Rubber Fluid
  • Satin Ridges
  • Shader Waves
  • Silk Waves
  • Simple Swirl
  • Spectral Clouds
  • Stipple GradientNew
  • Swirl Blend
  • Watercolor
Light & Beams14
  • Aurora Beam
  • Axial Beam
  • Blurred Rays
  • Chroma Blinds
  • Dappled Light
  • Eclipse
  • Falling Rays
  • Flame Paths
  • Horizon Bloom
  • Light Droplets
  • Neon Reveal
  • Nexus Rays
  • Rolling Blinds
  • Shadow Bars
Lines & Filaments12
  • Concentric Tides
  • Glowing Wave
  • Interference Ribbons
  • Liquid Lines
  • Long Exposure
  • Luminous Filaments
  • Neural Flash
  • Neural Float
  • Rising Lines
  • Spiral Funnel
  • Synaptic Shift
  • Twilight Lines
Dots & Pixels22
  • Blinking Dots
  • Blinking Squares
  • Chroma Current
  • Circuit FlashNew
  • Cursor Wave
  • Dither Wave
  • Dot Shift
  • Dotted WavesNew
  • Glue Dots
  • Grid Rise
  • Halftone Vortex
  • Halftone Wave
  • Hexagonal Vault
  • Mosaic
  • Mosaic Waves
  • Pixel Rain
  • Square Matrix
  • Squares Terminal
  • Squircle Shift
  • Tech Wall
  • Thinking Dots
  • Voxel Arc
Particles & Space11
  • Astral Shell
  • Binary Orbits
  • Contour Tide
  • Fading Stars
  • Glimmer Wrap
  • Grain MassNew
  • Ring Field
  • Rising Particles
  • Rotating Stars
  • Spectral Drape
  • Star Burst
Horizons & Tunnels10
  • Glitter Warp
  • Landscape
  • Lightspeed
  • Neural Tunnel
  • Perspective Grid
  • Ravine
  • Retro Lines
  • Star Swipe
  • Vortex
  • Warp Twister
ASCII & Glyphs9
  • ASCII StreamNew
  • ASCII Tiles
  • Ascii Waves
  • Glyph Ember
  • Glyph Orb
  • Glyph Sonar
  • Glyph Tide
  • Liquid Ascii
  • Terminal Rain
Glass & Chrome7
  • Glass CoinsNew
  • Glass Flow
  • Glass KeysNew
  • Glass Tiles
  • Metallic Swirl
  • Prismatic Slats
  • Spectral TilesNew
Images & Galleries52
Galleries & Carousels33
  • Album Rail
  • Bend Gallery
  • Circle Gallery
  • Circle Stack
  • Circles
  • Concave Carousel
  • Constellation Gallery
  • Contact Sheet
  • Depth Ribbon
  • Dolly Gallery
  • Draggable Grid
  • Elastic Reel
  • Expanding Grid
  • Gradient Carousel
  • Helix Gallery
  • Infinite Gallery
  • Inverted Dome
  • Iris Gallery
  • Lenticular Carousel
  • Liquid CirclesNew
  • Momentum Ring
  • Orbit Reel
  • Parallax Carousel
  • Passage Gallery
  • Prism Carousel
  • Reel Gallery
  • Rotating Cards
  • Scroll Bend
  • Skewed Carousel
  • Spin Shutter
  • Tilted Tiles
  • Tumble Carousel
  • Twisting Gallery
Image Effects14
  • Comparison Slider
  • Depth Image
  • Ember Reveal
  • Glass Reveal
  • Hover Preview
  • Liquid Swap
  • Loupe Image
  • Particle Image
  • Particle Morph
  • Pixel Reveal
  • Pixel Sculpt
  • Pixelate Hover
  • Pond Image
  • Shader Reveal
Scroll Stories5
  • Frame Scrub
  • Scroll Mask
  • Scroll Portal
  • Scroll Stack
  • Tile Reveal
Interface30
Cards & Widgets15
  • Animated ListUpdated
  • Arc ListNew
  • Card Spread
  • Chroma Card
  • Click Stack
  • Credit Card
  • Depth Card
  • Frame Border
  • Modal Cards
  • Parallax Cards
  • Parallax Pills
  • Preloader
  • Shader Card
  • SignatureNew
  • Warped Card
Product Mockups8
  • Browser WindowNew
  • Center Flow
  • Code MorphNew
  • Device
  • Magic Transform
  • PipelineNew
  • Spin ViewerNew
  • Terminal ReplayNew
Data & Media7
  • Globe
  • Instrument DialNew
  • Particle ChartNew
  • Signal MapNew
  • Simple Graph
  • Story PlayerNew
  • Waveform PlayerNew
3D & Tactile16
Orbs & Shapes9
  • Agentic Ball
  • AI Blob
  • Black Hole
  • Chrome Orbit
  • Fog Sphere
  • Photon Knot
  • Portal
  • Specter Orb
  • Wireframe Ball
Tactile & Physics7
  • Elastic Sticker
  • KeycapsNew
  • Page Flip
  • Pin ScreenNew
  • Receipt PrinterNew
  • Scratch CardNew
  • Tumble Wall
Cursors19
Custom Cursors7
  • Custom Cursor
  • Drafting Cursor
  • Glass Cursor
  • Gyroscope Cursor
  • Label Orbit
  • Smooth Cursor
  • User Cursor
Cursor Trails12
  • Arc Cursor
  • Ascii Cursor
  • Celebration Cursor
  • Chroma Halo
  • Dither Cursor
  • Glyph Stream
  • Pigment Trail
  • Pixel Magnet
  • Ribbon Trail
  • Snapshot Trail
  • Stardust Cursor
  • Tessera Trail
  1. Docs
  2. Components
  3. Cursors
  4. Cursor Trails
  5. Pixel Magnet

Animated components, blocks, and templates for React. Pay once, ship stunning pages forever.

pro@reactbits.dev

Site

HomeBuilder (Beta)PricingTestimonialsFAQsRoadmapChangelogFree Components

Docs

IntroductionInstallationMCP ServerComponentsBlocksTemplates

Resources

AboutUse casesComparisonsAlternativesFor AI agents

Legal & Account

LoginAffiliateLicensePrivacyContact

© 2026 pro.reactbits.dev. All rights reserved.

Pixel Magnet

A swarm of pixels that follows the cursor

pixel-magnet-tw

Customize

Count
25
Seed
1.00
Resolution
100
Speed
1.00
Spread
1.00
Size Spread
1.5
Falloff
1.05
Falloff Curve
0.50
Opacity
1.00
Color
Hot Color
Background
Follow
10.5
Velocity Scale
1.6
Idle Strength
0.00
Decay
1.2

Props

26
NameTypeDefaultDescription
widthstring | number"100%"Container width.
heightstring | number"100%"Container height.
classNamestringundefinedAdditional CSS classes.
childrenReactNodeundefinedContent rendered above the effect.
countnumber25Number of squares in the swarm.
seednumber1Starting seed. Change it for a different arrangement.
resolutionnumber100Grid the squares snap to. Higher values give smaller squares.
flow"contract" | "expand""contract"Whether squares fall inward or fly outward.
speednumber1How fast the swarm cycles.
spreadnumber1Radius of the swarm relative to half the container height.
sizeSpreadnumber1.5Extra size added to the largest squares.
falloffnumber1.05Radius at which the swarm fades out.
falloffCurvenumber0.5Softness of that fade.
colorstring"#16a34a"Colour of the slowest squares.
hotColorstring"#bbf7d0"Colour of the fastest squares.
backgroundColorstring"#0a0a0a"Background fill colour. Accepts "transparent".
blendMode"normal" | "additive""normal"How squares combine where they overlap.
opacitynumber1Master alpha, from 0 to 1.
cursorInteractionbooleantrueLet the swarm follow the pointer.
follownumber10.5How quickly the swarm catches up with the pointer.
velocityActivationbooleantrueDrive the swarm with pointer speed.
velocityScalenumber1.6Pointer speed needed to reach full strength.
idleStrengthnumber0Strength the swarm holds while the pointer rests.
decaynumber1.2How quickly the swarm fades once the pointer stops. Lower values linger.
dprnumber2Upper bound on device pixel ratio.
pausedbooleanfalseHold the animation still.
widthstring | number

Container width.

Default"100%"
heightstring | number

Container height.

Default"100%"
classNamestring

Additional CSS classes.

Defaultundefined
childrenReactNode

Content rendered above the effect.

Defaultundefined
countnumber

Number of squares in the swarm.

Default25
seednumber

Starting seed. Change it for a different arrangement.

Default1
resolutionnumber

Grid the squares snap to. Higher values give smaller squares.

Default100
flow"contract" | "expand"

Whether squares fall inward or fly outward.

Default"contract"
speednumber

How fast the swarm cycles.

Default1
spreadnumber

Radius of the swarm relative to half the container height.

Default1
sizeSpreadnumber

Extra size added to the largest squares.

Default1.5
falloffnumber

Radius at which the swarm fades out.

Default1.05
falloffCurvenumber

Softness of that fade.

Default0.5
colorstring

Colour of the slowest squares.

Default"#16a34a"
hotColorstring

Colour of the fastest squares.

Default"#bbf7d0"
backgroundColorstring

Background fill colour. Accepts "transparent".

Default"#0a0a0a"
blendMode"normal" | "additive"

How squares combine where they overlap.

Default"normal"
opacitynumber

Master alpha, from 0 to 1.

Default1
cursorInteractionboolean

Let the swarm follow the pointer.

Defaulttrue
follownumber

How quickly the swarm catches up with the pointer.

Default10.5
velocityActivationboolean

Drive the swarm with pointer speed.

Defaulttrue
velocityScalenumber

Pointer speed needed to reach full strength.

Default1.6
idleStrengthnumber

Strength the swarm holds while the pointer rests.

Default0
decaynumber

How quickly the swarm fades once the pointer stops. Lower values linger.

Default1.2
dprnumber

Upper bound on device pixel ratio.

Default2
pausedboolean

Hold the animation still.

Defaultfalse