Opus Motion ★ Star on GitHub

Product · product-grid-filter

Product grid with filter chips (re-flow)

A grid of product cards with filter chips on top; as the active chip changes the matching cards glide to new slots, the others shrink away and the count updates, then it returns to All.

A free, MIT-licensed product animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Product grid with filter chips (re-flow): three frames of the product animation, start, middle and end
Product grid with filter chips (re-flow) — start, middle and end of the 7.0-second motion.

What Product grid with filter chips (re-flow) is for

Catalogue / store / marketplace UI demos, "shop by category" beats, filter and search feature explainers — set the products, categories, prices and images.

  • ecommerce
  • product grid
  • filter
  • chips
  • catalogue
  • store
  • shop
  • retail
  • ui
  • marketplace
  • category

Details

Category
Product & e-commerce animations
Length
7.0 s (210 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
background card ink accent
Mood
ui
Roles
subject

Use Product grid with filter chips (re-flow) in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add product-grid-filter --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render product-grid-filter --props '{"background":"#F2F0EB","card":"#FFFFFF","ink":"#1D1B24","accent":"#E8553A"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export product-grid-filter --as webm-alpha --props '{"background":"#F2F0EB","card":"#FFFFFF","ink":"#1D1B24","accent":"#E8553A"}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="product-grid-filter"
  props={{
    background: '#F2F0EB',
    card: '#FFFFFF',
    ink: '#1D1B24',
    accent: '#E8553A',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="product-grid-filter"
  props='{"background":"#F2F0EB","card":"#FFFFFF","ink":"#1D1B24","accent":"#E8553A"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "product-grid-filter",
      "props": {
        "background": "#F2F0EB",
        "card": "#FFFFFF",
        "ink": "#1D1B24",
        "accent": "#E8553A"
      }
    }
  ]
}

Product grid with filter chips (re-flow) props

12 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
filters["All","Bags","Mugs","Audio"]chip labels; index 0 is the "show all" chip
products[{"name":"Canvas Tote","price":24,"category":"Bags","color":"#E07A5F","kind":0},{"name"…cards [{name, price, category, color?, src?, kind?}] — category matches a chip label (case-insensitive)
sequence[0,1,2,3,0]which chip (index) is active over time; first entry is the starting state
currency"$"currency prefix
countLabel"products"word after the result count (top right)
columns0grid columns; 0 = automatic (4 landscape / 3 portrait)
hold36frames each filter state lasts
background"#F2F0EB"page colour or 'transparent'
card"#FFFFFF"card and inactive chip colour
ink"#1D1B24"text colour
accent"#E8553A"price and active chip colour
startAt0frame the grid starts entering

Notes & credits

Technique sources:

  • original (round 3)