Opus Motion ★ Star on GitHub

HUD · social-post-embed

Social post embed

A generic social-post card - avatar (initials or image), name, verified tick, handle, text with *highlighted* words, optional picture, time and reply / repost / like counts. It pops in, reveals its words one by one, counts the numbers up and "likes" itself with a heart pop. No real platform branding.

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

Social post embed: three frames of the HUD graphic, start, middle and end
Social post embed — start, middle and end of the 6.0-second motion.

What Social post embed is for

Showing what someone posted in a news piece, explainer or reaction video: a quote, a viral claim, a customer comment, a screenshot-style callout.

  • social
  • post
  • tweet
  • comment
  • card
  • quote
  • embed
  • testimonial
  • news
  • viral
  • reaction
  • avatar
  • likes
  • journalism
  • overlay

Details

Category
HUD & sci-fi interface graphics
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
text
Colour props
cardColor ink muted accent likeColor background
Mood
photo
Roles
accent, subject

Use Social post embed in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add social-post-embed --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render social-post-embed --props '{"text":"Just walked across the *new bridge* at sunrise. Twelve years of planning and it is finally open to everyone.","cardColor":"#FFFFFF","ink":"#0F1419","muted":"#667085","accent":"#2F6FDB","likeColor":"#E0245E","background":"#10141C"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export social-post-embed --as webm-alpha --props '{"text":"Just walked across the *new bridge* at sunrise. Twelve years of planning and it is finally open to everyone.","cardColor":"#FFFFFF","ink":"#0F1419","muted":"#667085","accent":"#2F6FDB","likeColor":"#E0245E","background":"#10141C"}'

React / Next.js

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

<MotionPlayer
  motion="social-post-embed"
  props={{
    text: 'Just walked across the *new bridge* at sunrise. Twelve years of planning and it is finally open to everyone.',
    cardColor: '#FFFFFF',
    ink: '#0F1419',
    muted: '#667085',
    accent: '#2F6FDB',
    likeColor: '#E0245E',
    background: '#10141C',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="social-post-embed"
  props='{"text":"Just walked across the *new bridge* at sunrise. Twelve years of planning and it is finally open to everyone.","cardColor":"#FFFFFF","ink":"#0F1419","muted":"#667085","accent":"#2F6FDB","likeColor":"#E0245E","background":"#10141C"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "social-post-embed",
      "props": {
        "text": "Just walked across the *new bridge* at sunrise. Twelve years of planning and it is finally open to everyone.",
        "cardColor": "#FFFFFF",
        "ink": "#0F1419",
        "muted": "#667085",
        "accent": "#2F6FDB",
        "likeColor": "#E0245E",
        "background": "#10141C"
      }
    }
  ]
}

Social post embed props

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

PropDefaultWhat it does
name"Maya Ortiz"display name
handle"@maya.ortiz"handle shown under the name
avatarSrc""avatar image (public/ path or URL); empty = coloured circle with initials
verifiedtrueshow the round tick next to the name
text"Just walked across the *new bridge* at sunrise. Twelve years of planning and it is fin…post text; wrap words in *asterisks* to colour and embolden them
time"7:42 AM · 12 Mar 2026"timestamp line
replies128reply count (counts up; 12480 shows as 12.5K)
reposts2431repost / share count
likes15800like count (the heart pop adds one)
mediafalseshow a picture block under the text
imageSrc""picture for the block (public/ path or URL); empty = procedural placeholder
likeAt118frame the heart pops
wordsPerSecond9text reveal speed
cardColor"#FFFFFF"card fill
ink"#0F1419"text colour
muted"#667085"handle, time and icon colour
accent"#2F6FDB"highlight words, tick and glow colour
likeColor"#E0245E"liked-heart colour
background"#10141C"backdrop colour; "transparent" = overlay

Notes & credits

Technique sources:

  • library original (embedded-post pattern)