UI · masonry-gallery-switch
Ring to masonry gallery switch
Pastel aurora backdrop: a carousel ring of cards turns, the Ring/Gallery toggle flips and every card springs (staggered) into a masonry grid under a large "Gallery" header.
A free, MIT-licensed UI animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Ring to masonry gallery switch is for
Showcase and portfolio reveals, app tours ("switch between views"), template or asset library intros, "browse everything" beats.
Details
- Category
- UI & product mockup animations
- Length
- 9.0 s (270 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
titlesubtitleitems- Colour props
backgroundpaletteinkColoraccent- Mood
- nature, ui
- Roles
- subject
Use Ring to masonry gallery switch in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add masonry-gallery-switch --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render masonry-gallery-switch --props '{"title":"Gallery","subtitle":"12 builds · most trending first","items":[{"title":"Aurora study","tag":"MOTION","meta":"12.7k","color":"#7c8cff","ratio":0.8},{"title":"Glass dashboard","tag":"UI","meta":"9.3k","color":"#ff8fc2","ratio":1},{"title":"Orbit loader","tag":"3D","meta":"21k","color":"#5fd3b0","ratio":1.3},{"title":"Soft gradients","tag":"COLOUR","meta":"4.1k","color":"#ffb86b","ratio":0.9},{"title":"Paper fold","tag":"MOTION","meta":"7.8k","color":"#b08cff","ratio":1.15},{"title":"Night market","tag":"ILLUSTRATION","meta":"15k","color":"#6cc7ff","ratio":0.75},{"title":"Pixel garden","tag":"GAME","meta":"3.2k","color":"#8fdc7a","ratio":1.2},{"title":"Wave studio","tag":"AUDIO","meta":"6.6k","color":"#ff8c8c","ratio":0.95},{"title":"Type specimen","tag":"TYPE","meta":"11k","color":"#9aa6ff","ratio":1.25},{"title":"Cloud icons","tag":"ICONS","meta":"5.5k","color":"#6fd6d6","ratio":0.85},{"title":"Pocket synth","tag":"AUDIO","meta":"8.9k","color":"#f59ad0","ratio":1.1},{"title":"Slow motion","tag":"VIDEO","meta":"18k","color":"#ffc76b","ratio":0.8}],"background":"#f5f2fc","palette":["#c9d4ff","#ffc9e3","#cdf3e3","#ffe6c4","#e0d2ff"],"inkColor":"#1f1a3d","accent":"#8b7bff"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export masonry-gallery-switch --as mp4 --props '{"title":"Gallery","subtitle":"12 builds · most trending first","items":[{"title":"Aurora study","tag":"MOTION","meta":"12.7k","color":"#7c8cff","ratio":0.8},{"title":"Glass dashboard","tag":"UI","meta":"9.3k","color":"#ff8fc2","ratio":1},{"title":"Orbit loader","tag":"3D","meta":"21k","color":"#5fd3b0","ratio":1.3},{"title":"Soft gradients","tag":"COLOUR","meta":"4.1k","color":"#ffb86b","ratio":0.9},{"title":"Paper fold","tag":"MOTION","meta":"7.8k","color":"#b08cff","ratio":1.15},{"title":"Night market","tag":"ILLUSTRATION","meta":"15k","color":"#6cc7ff","ratio":0.75},{"title":"Pixel garden","tag":"GAME","meta":"3.2k","color":"#8fdc7a","ratio":1.2},{"title":"Wave studio","tag":"AUDIO","meta":"6.6k","color":"#ff8c8c","ratio":0.95},{"title":"Type specimen","tag":"TYPE","meta":"11k","color":"#9aa6ff","ratio":1.25},{"title":"Cloud icons","tag":"ICONS","meta":"5.5k","color":"#6fd6d6","ratio":0.85},{"title":"Pocket synth","tag":"AUDIO","meta":"8.9k","color":"#f59ad0","ratio":1.1},{"title":"Slow motion","tag":"VIDEO","meta":"18k","color":"#ffc76b","ratio":0.8}],"background":"#f5f2fc","palette":["#c9d4ff","#ffc9e3","#cdf3e3","#ffe6c4","#e0d2ff"],"inkColor":"#1f1a3d","accent":"#8b7bff"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="masonry-gallery-switch"
props={{
title: 'Gallery',
subtitle: '12 builds · most trending first',
items: [
{
title: 'Aurora study',
tag: 'MOTION',
meta: '12.7k',
color: '#7c8cff',
ratio: 0.8,
},
{
title: 'Glass dashboard',
tag: 'UI',
meta: '9.3k',
color: '#ff8fc2',
ratio: 1,
},
{
title: 'Orbit loader',
tag: '3D',
meta: '21k',
color: '#5fd3b0',
ratio: 1.3,
},
{
title: 'Soft gradients',
tag: 'COLOUR',
meta: '4.1k',
color: '#ffb86b',
ratio: 0.9,
},
{
title: 'Paper fold',
tag: 'MOTION',
meta: '7.8k',
color: '#b08cff',
ratio: 1.15,
},
{
title: 'Night market',
tag: 'ILLUSTRATION',
meta: '15k',
color: '#6cc7ff',
ratio: 0.75,
},
{
title: 'Pixel garden',
tag: 'GAME',
meta: '3.2k',
color: '#8fdc7a',
ratio: 1.2,
},
{
title: 'Wave studio',
tag: 'AUDIO',
meta: '6.6k',
color: '#ff8c8c',
ratio: 0.95,
},
{
title: 'Type specimen',
tag: 'TYPE',
meta: '11k',
color: '#9aa6ff',
ratio: 1.25,
},
{
title: 'Cloud icons',
tag: 'ICONS',
meta: '5.5k',
color: '#6fd6d6',
ratio: 0.85,
},
{
title: 'Pocket synth',
tag: 'AUDIO',
meta: '8.9k',
color: '#f59ad0',
ratio: 1.1,
},
{
title: 'Slow motion',
tag: 'VIDEO',
meta: '18k',
color: '#ffc76b',
ratio: 0.8,
},
],
background: '#f5f2fc',
palette: ['#c9d4ff', '#ffc9e3', '#cdf3e3', '#ffe6c4', '#e0d2ff'],
inkColor: '#1f1a3d',
accent: '#8b7bff',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="masonry-gallery-switch"
props='{"title":"Gallery","subtitle":"12 builds · most trending first","items":[{"title":"Aurora study","tag":"MOTION","meta":"12.7k","color":"#7c8cff","ratio":0.8},{"title":"Glass dashboard","tag":"UI","meta":"9.3k","color":"#ff8fc2","ratio":1},{"title":"Orbit loader","tag":"3D","meta":"21k","color":"#5fd3b0","ratio":1.3},{"title":"Soft gradients","tag":"COLOUR","meta":"4.1k","color":"#ffb86b","ratio":0.9},{"title":"Paper fold","tag":"MOTION","meta":"7.8k","color":"#b08cff","ratio":1.15},{"title":"Night market","tag":"ILLUSTRATION","meta":"15k","color":"#6cc7ff","ratio":0.75},{"title":"Pixel garden","tag":"GAME","meta":"3.2k","color":"#8fdc7a","ratio":1.2},{"title":"Wave studio","tag":"AUDIO","meta":"6.6k","color":"#ff8c8c","ratio":0.95},{"title":"Type specimen","tag":"TYPE","meta":"11k","color":"#9aa6ff","ratio":1.25},{"title":"Cloud icons","tag":"ICONS","meta":"5.5k","color":"#6fd6d6","ratio":0.85},{"title":"Pocket synth","tag":"AUDIO","meta":"8.9k","color":"#f59ad0","ratio":1.1},{"title":"Slow motion","tag":"VIDEO","meta":"18k","color":"#ffc76b","ratio":0.8}],"background":"#f5f2fc","palette":["#c9d4ff","#ffc9e3","#cdf3e3","#ffe6c4","#e0d2ff"],"inkColor":"#1f1a3d","accent":"#8b7bff"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "masonry-gallery-switch",
"props": {
"title": "Gallery",
"subtitle": "12 builds · most trending first",
"items": [
{
"title": "Aurora study",
"tag": "MOTION",
"meta": "12.7k",
"color": "#7c8cff",
"ratio": 0.8
},
{
"title": "Glass dashboard",
"tag": "UI",
"meta": "9.3k",
"color": "#ff8fc2",
"ratio": 1
},
{
"title": "Orbit loader",
"tag": "3D",
"meta": "21k",
"color": "#5fd3b0",
"ratio": 1.3
},
{
"title": "Soft gradients",
"tag": "COLOUR",
"meta": "4.1k",
"color": "#ffb86b",
"ratio": 0.9
},
{
"title": "Paper fold",
"tag": "MOTION",
"meta": "7.8k",
"color": "#b08cff",
"ratio": 1.15
},
{
"title": "Night market",
"tag": "ILLUSTRATION",
"meta": "15k",
"color": "#6cc7ff",
"ratio": 0.75
},
{
"title": "Pixel garden",
"tag": "GAME",
"meta": "3.2k",
"color": "#8fdc7a",
"ratio": 1.2
},
{
"title": "Wave studio",
"tag": "AUDIO",
"meta": "6.6k",
"color": "#ff8c8c",
"ratio": 0.95
},
{
"title": "Type specimen",
"tag": "TYPE",
"meta": "11k",
"color": "#9aa6ff",
"ratio": 1.25
},
{
"title": "Cloud icons",
"tag": "ICONS",
"meta": "5.5k",
"color": "#6fd6d6",
"ratio": 0.85
},
{
"title": "Pocket synth",
"tag": "AUDIO",
"meta": "8.9k",
"color": "#f59ad0",
"ratio": 1.1
},
{
"title": "Slow motion",
"tag": "VIDEO",
"meta": "18k",
"color": "#ffc76b",
"ratio": 0.8
}
],
"background": "#f5f2fc",
"palette": [
"#c9d4ff",
"#ffc9e3",
"#cdf3e3",
"#ffe6c4",
"#e0d2ff"
],
"inkColor": "#1f1a3d",
"accent": "#8b7bff"
}
}
]
}Ring to masonry gallery switch props
13 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
title | "Gallery" | grid-view header |
subtitle | "12 builds · most trending first" | mono sub-line under the header |
ringTitle | "Top 10" | huge faint serif word behind the ring ("" for none) |
ringLabel | "Ring" | first toggle label |
gridLabel | "Gallery" | second toggle label |
items | [{"title":"Aurora study","tag":"MOTION","meta":"12.7k","color":"#7c8cff","ratio":0.8},{… | cards [{title,tag?,meta?,color?,ratio? (height/width),src? (public/ image path or URL)}] |
background | "#f5f2fc" | base page colour |
palette | ["#c9d4ff","#ffc9e3","#cdf3e3","#ffe6c4","#e0d2ff"] | aurora blob colours (5 used) |
inkColor | "#1f1a3d" | text / active toggle colour |
accent | "#8b7bff" | avatar dot colour |
switchFrame | 104 | frame the view switch starts |
spin | 3.4 | radians the ring turns before the switch |
seed | 2 | art / tilt seed |
Related motions

Carousel 3D
Portfolio reels, product galleries, template showcases, "pick from the collection" beats.
carousel-3d
UI shape morph (one shape, many states)
Product promos, app-store previews, onboarding heroes and "what our app does" loops: edit the `states` table (kind, label, size, radius,…
ui-shape-morph
Card helix gallery
Showcasing a top-N list of works, templates or products in a gallery or app promo.
card-helix-gallery
Card stack cascade (bento + focus)
Feature overviews in launch videos, website sections, pricing / plan reveals: pass `cards` (title, body, icon, span "2x1"), choose…
card-stack-cascade
Glass UI cards
AI-assistant demos, app feature films and website heroes that want a translucent, premium UI look.
glass-ui-cards
Lesson carousel
Course / playlist / step navigation in app promos; a chapter selector at the bottom of an explainer.
lesson-carousel
Notes & credits
Technique sources:
- analysis/sheets/r3/v5 (pastel gallery app, ring view to gallery grid)