Spring Stagger Grid

A filterable tile grid that enters on a diagonal ripple (delay = row + column), re-flows on layout springs when filtered and exits with a quick scale-down.

Try it: Switch filters and watch the ripple.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/spring-stagger-grid.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/spring-stagger-grid. You can also copy the source into components/ui/spring-stagger-grid.tsx (view on GitHub).

Usage

import { SpringStaggerGrid } from '@/components/ui/spring-stagger-grid'

Props

Component props
PropTypeDefaultNotes
itemsStaggerItem[]DEFAULT_STAGGER_ITEMS{ id, title, tag, hue }
tagsstring[]['All', …]Filter options.

Dependencies

  • motion
  • lucide-react
  • Magnetic Dot Grid

    A canvas field of dots that lean toward the pointer on spring physics, swell and tint near it, then settle with a soft wobble; clicks send a ripple. Theme-aware, static on reduced motion.

  • Parallax Depth Stack

    A fanned card stack on CSS 3D layers: the pointer tilts it and each layer parallaxes by depth with a moving sheen; click or Enter sends the front card to the back on a spring.

  • Page Curtain Transition

    Route changes play a staggered column curtain: panels sweep up to cover, the next page name flashes on the curtain, then they lift away to reveal it. Reduced motion cross-fades.

  • Kinetic Stats Band

    A band of big tabular numbers that count up on an expo curve when scrolled into view, with motion blur on the fast part and sparklines that draw themselves.

  • Lit Product Card 3D

    A product card with real lighting: tilt follows the pointer, a specular highlight tracks the light while the cast shadow moves opposite, the product floats on its own Z layer and swatches recolour…

  • Morph Button Modal

    A pill button that physically becomes its dialog: the surface expands on a shared-layout spring, the label blurs into a form, and submit shrinks it back into a success pill. Focus trapped and…

See all 15 Motion Showcase components