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. Images & Galleries
  4. Galleries & Carousels
  5. Expanding Grid

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.

Expanding Grid

A portrait grid that magnifies faces under the cursor

expanding-grid-tw

Customize

Background
Columns
12
Tile Size
0.36
Magnify
1.50×
Lens Size
1.30
Fill
0.92
Radius
0.14
Saturation
0.00
Dim
0.25
Follow
0.45s
Autoplay Speed
1.00
Seed
0

Props

25
NameTypeDefaultDescription
items{ src: string; alt: string; title?: string; subtitle?: string; href?: string }[]studio portrait collectionImages for the tiles, repeated across the grid so neighbours never match. Images must allow cross-origin loading. Title and subtitle caption an opened photo; href makes opening it navigate.
columnsnumber12Number of columns across the container. Rows fill the height with square cells; narrow screens get fewer columns.
tileSizenumber0.36Size of a resting tile as a fraction of its cell. Small values leave the grid airy; values near 1 make a tight mosaic.
magnifynumber1.5How much the lens spreads the grid apart at its centre. Tiles there also grow to fill their enlarged cells.
lensSizenumber1.3Radius of the lens, in cells.
fillnumber0.92How much of its cell a tile at the centre of the lens fills. The rest is the gap between enlarged photos.
radiusnumber0.14Corner rounding as a fraction of the tile size. 0.5 makes circles.
saturationnumber0Colour of the tiles outside the lens, from 0 (monochrome) to 1 (full colour). Tiles in the lens are always in full colour.
dimnumber0.25How much the tiles outside the lens fade into the background.
follownumber0.45Seconds the lens takes to catch up with the pointer. Higher values feel heavier and smoother.
autoplaybooleantrueWhen the pointer is away, the lens drifts on its own across the grid.
autoplaySpeednumber1Speed of that drift.
openOnClickbooleantrueClicking a tile opens its photo large in the centre. Click again or press Escape to put it back.
captionsbooleantrueShow the title and subtitle of an opened photo.
interactivebooleantrueLet the pointer and keyboard steer the lens. The arrow keys move it tile by tile and Enter opens the tile under it.
backgroundColorstring"transparent"Background of the component. Captions adapt to it.
seednumber0Changes how the images are arranged across the grid.
pausedbooleanfalseStops the autoplay drift. Reduced-motion users never get the drift.
dprnumber2Maximum device pixel ratio for the canvas.
ariaLabelstring"Portrait grid…"Accessible description of the grid and how to use it.
onOpen(item, index) => void—Called when a photo is opened, with null and -1 when it is put back.
ref{ open, close, focusAt }—Imperative controls: open an item, close it, or move the lens to a column and row.
childrenReactNode—Content centred over the grid, such as a headline. It fades out while a photo is open.
classNamestring—Classes for the root element. It fills its parent, with a 420px minimum height.
styleCSSProperties—Inline styles for the root element.
items{ src: string; alt: string; title?: string; subtitle?: string; href?: string }[]

Images for the tiles, repeated across the grid so neighbours never match. Images must allow cross-origin loading. Title and subtitle caption an opened photo; href makes opening it navigate.

Defaultstudio portrait collection
columnsnumber

Number of columns across the container. Rows fill the height with square cells; narrow screens get fewer columns.

Default12
tileSizenumber

Size of a resting tile as a fraction of its cell. Small values leave the grid airy; values near 1 make a tight mosaic.

Default0.36
magnifynumber

How much the lens spreads the grid apart at its centre. Tiles there also grow to fill their enlarged cells.

Default1.5
lensSizenumber

Radius of the lens, in cells.

Default1.3
fillnumber

How much of its cell a tile at the centre of the lens fills. The rest is the gap between enlarged photos.

Default0.92
radiusnumber

Corner rounding as a fraction of the tile size. 0.5 makes circles.

Default0.14
saturationnumber

Colour of the tiles outside the lens, from 0 (monochrome) to 1 (full colour). Tiles in the lens are always in full colour.

Default0
dimnumber

How much the tiles outside the lens fade into the background.

Default0.25
follownumber

Seconds the lens takes to catch up with the pointer. Higher values feel heavier and smoother.

Default0.45
autoplayboolean

When the pointer is away, the lens drifts on its own across the grid.

Defaulttrue
autoplaySpeednumber

Speed of that drift.

Default1
openOnClickboolean

Clicking a tile opens its photo large in the centre. Click again or press Escape to put it back.

Defaulttrue
captionsboolean

Show the title and subtitle of an opened photo.

Defaulttrue
interactiveboolean

Let the pointer and keyboard steer the lens. The arrow keys move it tile by tile and Enter opens the tile under it.

Defaulttrue
backgroundColorstring

Background of the component. Captions adapt to it.

Default"transparent"
seednumber

Changes how the images are arranged across the grid.

Default0
pausedboolean

Stops the autoplay drift. Reduced-motion users never get the drift.

Defaultfalse
dprnumber

Maximum device pixel ratio for the canvas.

Default2
ariaLabelstring

Accessible description of the grid and how to use it.

Default"Portrait grid…"
onOpen(item, index) => void

Called when a photo is opened, with null and -1 when it is put back.

Default—
ref{ open, close, focusAt }

Imperative controls: open an item, close it, or move the lens to a column and row.

Default—
childrenReactNode

Content centred over the grid, such as a headline. It fades out while a photo is open.

Default—
classNamestring

Classes for the root element. It fills its parent, with a 420px minimum height.

Default—
styleCSSProperties

Inline styles for the root element.

Default—