Pixelate Hover

Interactive pixelation effect with cursor-controlled reveal

pixelate-hover-tw

Customize

Mode & Effect

30
1

Cursor

350
0.05

Auto Demo

0.5
1500

Props

imagestring

URL of the image to display and pixelate

Default:""
pixelSizenumber

Size of pixelation blocks - higher values create larger mosaic pixels

Default:20
cursorRadiusnumber

Radius of the cursor effect area in pixels

Default:200
falloffnumber

Softness of the transition falloff (0-1) - controls edge smoothness

Default:0.5
mode"reveal" | "pixelate"

"reveal" starts pixelated and reveals on hover, "pixelate" starts normal and pixelates on hover

Default:"reveal"
smoothingnumber

Mouse smoothing/dampening factor (0-1) - lower values create smoother, more delayed cursor following

Default:0.15
autoDemoboolean

Enable automatic cursor animation when idle

Default:true
autoSpeednumber

Speed of automatic cursor movement during auto-demo

Default:0.5
autoResumeDelaynumber

Delay in milliseconds before auto-demo resumes after user interaction

Default:1500
styleReact.CSSProperties

Inline styles applied to the container element

Default:undefined
classNamestring

Additional CSS classes for the container

Default:""

Demo image by Alex Suprun @ unsplash.com, not part of the React Bits Pro offer.