Opus Motion ★ Star on GitHub

UI · chat-bubbles

Chat bubbles, chips & thought bubble

Chat bubbles and comment / prompt chips pop in one by one around a box-bot, a speech balloon snaps on, then a thought bubble rises (dots -> cloud -> icons -> caption) and a green verdict chip drops in.

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

Chat bubbles, chips & thought bubble: three frames of the UI animation, start, middle and end
Chat bubbles, chips & thought bubble — start, middle and end of the 8.0-second motion.

What Chat bubbles, chips & thought bubble is for

Conversations, user feedback / comments, "what people are asking", a character thinking back over its day, verdict reveals.

  • chat
  • bubbles
  • comments
  • speech
  • thought
  • ui
  • conversation

Details

Category
UI & product mockup animations
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
messages thoughtCaption verdict
Colour props
verdictColor background
Mood
dark, playful, ui
Roles
subject
Pairs with
Emote pop, Starfield night, Box-bot mascot

Use Chat bubbles, chips & thought bubble in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render chat-bubbles --props '{"messages":[{"text":"hi Claude!","kind":"user"},{"text":"Hi! How can I help?","kind":"reply"},{"text":"rename all the variables","kind":"chip"},{"text":"did it get faster?","kind":"comment"},{"text":"why is prod down??","kind":"chip"},{"text":"it forgot what it just did","kind":"comment"},{"text":"help me quit vim","kind":"chip"},{"text":"Morning, little guy!","kind":"speech"}],"thoughtCaption":"…and again tomorrow","verdict":"POSTMORTEM: 3 changes, all reverted","verdictColor":"#7DFDB0","background":"#12031f"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export chat-bubbles --as mp4 --props '{"messages":[{"text":"hi Claude!","kind":"user"},{"text":"Hi! How can I help?","kind":"reply"},{"text":"rename all the variables","kind":"chip"},{"text":"did it get faster?","kind":"comment"},{"text":"why is prod down??","kind":"chip"},{"text":"it forgot what it just did","kind":"comment"},{"text":"help me quit vim","kind":"chip"},{"text":"Morning, little guy!","kind":"speech"}],"thoughtCaption":"…and again tomorrow","verdict":"POSTMORTEM: 3 changes, all reverted","verdictColor":"#7DFDB0","background":"#12031f"}'

React / Next.js

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

<MotionPlayer
  motion="chat-bubbles"
  props={{
    messages: [
      {text: 'hi Claude!', kind: 'user'},
      {text: 'Hi! How can I help?', kind: 'reply'},
      {text: 'rename all the variables', kind: 'chip'},
      {text: 'did it get faster?', kind: 'comment'},
      {text: 'why is prod down??', kind: 'chip'},
      {text: 'it forgot what it just did', kind: 'comment'},
      {text: 'help me quit vim', kind: 'chip'},
      {text: 'Morning, little guy!', kind: 'speech'},
    ],
    thoughtCaption: '…and again tomorrow',
    verdict: 'POSTMORTEM: 3 changes, all reverted',
    verdictColor: '#7DFDB0',
    background: '#12031f',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="chat-bubbles"
  props='{"messages":[{"text":"hi Claude!","kind":"user"},{"text":"Hi! How can I help?","kind":"reply"},{"text":"rename all the variables","kind":"chip"},{"text":"did it get faster?","kind":"comment"},{"text":"why is prod down??","kind":"chip"},{"text":"it forgot what it just did","kind":"comment"},{"text":"help me quit vim","kind":"chip"},{"text":"Morning, little guy!","kind":"speech"}],"thoughtCaption":"…and again tomorrow","verdict":"POSTMORTEM: 3 changes, all reverted","verdictColor":"#7DFDB0","background":"#12031f"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "chat-bubbles",
      "props": {
        "messages": [
          {
            "text": "hi Claude!",
            "kind": "user"
          },
          {
            "text": "Hi! How can I help?",
            "kind": "reply"
          },
          {
            "text": "rename all the variables",
            "kind": "chip"
          },
          {
            "text": "did it get faster?",
            "kind": "comment"
          },
          {
            "text": "why is prod down??",
            "kind": "chip"
          },
          {
            "text": "it forgot what it just did",
            "kind": "comment"
          },
          {
            "text": "help me quit vim",
            "kind": "chip"
          },
          {
            "text": "Morning, little guy!",
            "kind": "speech"
          }
        ],
        "thoughtCaption": "…and again tomorrow",
        "verdict": "POSTMORTEM: 3 changes, all reverted",
        "verdictColor": "#7DFDB0",
        "background": "#12031f"
      }
    }
  ]
}

Chat bubbles, chips & thought bubble props

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

PropDefaultWhat it does
messages[{"text":"hi Claude!","kind":"user"},{"text":"Hi! How can I help?","kind":"reply"},{"te…[{text, kind, at?}] kind = user (dark bubble) | reply (orange, flies from the bot) | chip (orange prompt chip) | comment (white ink chip) | speech (comic balloon); at = start frame
stagger10frames between messages when `at` is not given
thoughtIcons["alarm","train","toast","flask","button","moon"]icons that pop into the thought cloud (alarm|train|toast|flask|button|moon|sun|coffee|bolt|heart|star|gear|chat|leaf|check|flame|shield|sword)
thoughtCaption"…and again tomorrow"caption typed under the thought cloud
verdict"POSTMORTEM: 3 changes, all reverted"text of the green chip that drops in at the end ("" = none)
verdictColor"#7DFDB0"verdict chip colour
showBottruedraw the orange box-bot speaker
background"#12031f"

Notes & credits

Technique sources:

  • video12 25:90-36:03 chat-bubble-pop, speech-balloon-pop
  • video12 55:03-57:60 comment-chip-stagger
  • video12 83:80-86:60 thought-bubble-sequence