ııı motion.mdVideo style specification
Mintlify / V394

Mintlify Widget — an embedded agent that supports your users anywhere

Connect questions, answers and sources through one lightweight entry point, integrating the assistant naturally into the existing page.

Composition and choreography Playable · Replaceable content
Overall choreographyRule example
0.00 / 22.68 seconds
Motion and composition example Open separately ↗
View HTML source
<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Mintlify Widget — an embedded agent that supports your users anywhere · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#eef0e6}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="sequence"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html>
Visual elementsStar-shaped assistant markEmbed-code cardFloating entry pointConversation panelSource list
MOTION LANGUAGE

Motion and composition

Local motion · Composition rules

01

Introduce the entry point before demonstrating the interaction

1.00s · Composition reference

Keep a small assistant mark on a pale beige-green background, with text continuing on both sides of it. The code card provides only a brief explanation of installation capability and should not occupy the whole segment.

Use matching corner radii for the button and input, and reserve green for the interaction focus.

02

A single button expands into a conversation panel

A single button expands into a conversation panelRule example
0.00 / 3.70 seconds
7.8–11.5 seconds · Motion example Open separately ↗
View HTML source
<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Mintlify Widget — an embedded agent that supports your users anywhere · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#eef0e6}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="clip" data-start="7.8" data-end="11.5"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html>

Expand the container first, then show suggested questions and the input. Leave room for the answer after submission. Maintain the reading direction as the camera approaches the panel.

03

Provide expandable sources after the answer

Provide expandable sources after the answerRule example
0.00 / 2.80 seconds
14–16.8 seconds · Motion example Open separately ↗
View HTML source
<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Mintlify Widget — an embedded agent that supports your users anywhere · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#eef0e6}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="clip" data-start="14" data-end="16.8"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html>

Group sources in one list, highlighting only the current row as the cursor moves through it. After the demonstration, collapse back to the entry point and leave the brand.

04

Replace scenario content

The user's question, answer, and sources should correspond to each other. When adapting to another product, retain the single entry point and complete question-and-answer chain.

SEQUENCE

Sections and rhythm

Click a section to seek to it in the choreography example above.

Composition reference at 0.00 seconds
0.00s
Composition reference at 1.00 seconds
1.00s
Composition reference at 8.00 seconds
8.00s
Composition reference at 10.56 seconds
10.56s
Composition reference at 18.00 seconds
18.00s
Composition reference at 21.00 seconds
21.00s

Visual references · Discrete still frames

KEEP THE RELATIONSHIPS

Creating other themes

  • Replace the assistant brand, user question, and sources; preserve the causal chain of entry point→question→answer→source lookup.
  • Show only one short question at a time, keep answers to 4–6 lines, and retain around three sources.

Production constraints

Star-shaped assistant mark / Embed-code card / Floating entry point / Conversation panel / Source list

  • Use a small mark to carry two lines of copy first, then move into the code card and actual usage.
  • After the button expands, maintain the hierarchy of input, answer, and sources; use angled camera views only to emphasize the current operation.
  • Highlight source-list rows in sync with cursor movement; return to the short proposition after the interaction ends.