UI · glass-ui-cards
Glass UI cards
Frosted glass cards float in 3D with parallax over a drifting mesh-gradient: blurred saturated backdrop, faint white fill, 1px rim highlight, a broad diagonal sheen and a catch-light circling the edge; inside, a chat with a streamed reply, a voice waveform with a glowing orb, and toggle / slider / chips.
A free, MIT-licensed UI animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Glass UI cards is for
AI-assistant demos, app feature films and website heroes that want a translucent, premium UI look.
Details
- Category
- UI & product mockup animations
- Length
- 7.0 s (210 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
cards- Colour props
accentcolorsbase- Mood
- 3d, ui
- Roles
- subject
Use Glass UI cards in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add glass-ui-cards --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render glass-ui-cards --props '{"cards":[{"kind":"chat","x":-270,"y":-40,"z":40,"tilt":-2.5,"w":560,"h":520},{"kind":"voice","x":330,"y":-150,"z":-20,"tilt":2,"w":440,"h":390},{"kind":"controls","x":310,"y":190,"z":90,"tilt":-1.5,"w":470,"h":330}],"accent":"#8b5cf6","colors":["#6d28d9","#2563eb","#06b6d4","#c026d3"],"base":"#07061c"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export glass-ui-cards --as mp4 --props '{"cards":[{"kind":"chat","x":-270,"y":-40,"z":40,"tilt":-2.5,"w":560,"h":520},{"kind":"voice","x":330,"y":-150,"z":-20,"tilt":2,"w":440,"h":390},{"kind":"controls","x":310,"y":190,"z":90,"tilt":-1.5,"w":470,"h":330}],"accent":"#8b5cf6","colors":["#6d28d9","#2563eb","#06b6d4","#c026d3"],"base":"#07061c"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="glass-ui-cards"
props={{
cards: [
{kind: 'chat', x: -270, y: -40, z: 40, tilt: -2.5, w: 560, h: 520},
{kind: 'voice', x: 330, y: -150, z: -20, tilt: 2, w: 440, h: 390},
{kind: 'controls', x: 310, y: 190, z: 90, tilt: -1.5, w: 470, h: 330},
],
accent: '#8b5cf6',
colors: ['#6d28d9', '#2563eb', '#06b6d4', '#c026d3'],
base: '#07061c',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="glass-ui-cards"
props='{"cards":[{"kind":"chat","x":-270,"y":-40,"z":40,"tilt":-2.5,"w":560,"h":520},{"kind":"voice","x":330,"y":-150,"z":-20,"tilt":2,"w":440,"h":390},{"kind":"controls","x":310,"y":190,"z":90,"tilt":-1.5,"w":470,"h":330}],"accent":"#8b5cf6","colors":["#6d28d9","#2563eb","#06b6d4","#c026d3"],"base":"#07061c"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "glass-ui-cards",
"props": {
"cards": [
{
"kind": "chat",
"x": -270,
"y": -40,
"z": 40,
"tilt": -2.5,
"w": 560,
"h": 520
},
{
"kind": "voice",
"x": 330,
"y": -150,
"z": -20,
"tilt": 2,
"w": 440,
"h": 390
},
{
"kind": "controls",
"x": 310,
"y": 190,
"z": 90,
"tilt": -1.5,
"w": 470,
"h": 330
}
],
"accent": "#8b5cf6",
"colors": [
"#6d28d9",
"#2563eb",
"#06b6d4",
"#c026d3"
],
"base": "#07061c"
}
}
]
}Glass UI cards props
17 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
cards | [{"kind":"chat","x":-270,"y":-40,"z":40,"tilt":-2.5,"w":560,"h":520},{"kind":"voice","x… | cards: kind chat|voice|controls, x/y offsets (px at 1080), z depth, tilt degrees, w/h size (portrait re-stacks them vertically) |
userText | "Plan my launch week" | user message bubble |
replyText | "Sure. I drafted a five day plan, booked the review on Tuesday and queued the announcem… | assistant reply streamed word by word |
frost | 30 | backdrop blur in px (30) |
tint | 0.085 | white fill opacity (0.085) |
lightDir | 125 | light direction in degrees (rim highlight faces it) |
accent | "#8b5cf6" | accent colour for bubbles, toggles, orb |
colors | ["#6d28d9","#2563eb","#06b6d4","#c026d3"] | backdrop pool colours |
base | "#07061c" | backdrop base colour |
orbitDeg | 6 | camera parallax swing in degrees |
seed | 11 | backdrop seed |
chatTitle | "ASSISTANT" | small caps heading of the chat card |
voiceTitle | "LISTENING" | small caps heading of the voice card |
controlsTitle | "SETTINGS" | small caps heading of the controls card |
toggleLabel | "Smart replies" | label of the toggle in the controls card |
sliderLabel | "Creativity" | label of the slider in the controls card |
chips | ["Concise","Friendly","Formal"] | chip labels in the controls card (the first is active) |
Related motions

Glass lesson cards
Lesson, step and definition overlays for educational explainers, product tours and course trailers; the card system of an "interactive…
glass-lesson-card
Carousel 3D
Portfolio reels, product galleries, template showcases, "pick from the collection" beats.
carousel-3d
Inspector popover
Product UI demos, design-tool and configurator promos, "tweak a parameter" explainers.
inspector-popover
Liquid glass lens
The hero wow for product launches, a lens gliding over any screenshot or website hero, and a logo end card where the lens becomes a letter.
liquid-glass-lens
Ring to masonry gallery switch
Showcase and portfolio reveals, app tours ("switch between views"), template or asset library intros, "browse everything" beats.
masonry-gallery-switch
Lesson player toolbar
Making a narrated explainer, tutorial or product walkthrough feel like a real interactive player; an on-screen caption bar with step…
player-toolbar
Notes & credits
Technique sources:
- mg-styles-15 demos/12-aurora-glass (MIT, FS_CARD, cards/riseA)