Sequence Diagram Steps
Two dashed lifelines with request arrows crossing between them in order, a solid arrow out, a dashed reply back, and an activation bar marking how long the server was busy.
- lines of CSS
- 76lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- motion only on interaction
- Hovermotion only on interaction
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v14-tl-sequence-15808 {
width: 240px;
color: #cbd5e1;
}
.fx-v14-tl-sequence-15808 .hd {
display: flex;
justify-content: space-between;
margin-bottom: 0.4rem;
}
.fx-v14-tl-sequence-15808 .hd b {
padding: 0.16rem 0.5rem;
font-size: 0.62rem;
font-weight: 600;
color: #e2e8f0;
background: #1b2740;
border: 1px solid #334155;
border-radius: 0.3rem;
}
.fx-v14-tl-sequence-15808 .bd { position: relative; height: 112px; }
.fx-v14-tl-sequence-15808 .lf, .fx-v14-tl-sequence-15808 .rt {
position: absolute;
top: 0;
bottom: 0;
width: 0;
border-left: 1px dashed #334155;
}
.fx-v14-tl-sequence-15808 .lf { left: 30px; }
.fx-v14-tl-sequence-15808 .rt { right: 26px; }
.fx-v14-tl-sequence-15808 .act {
position: absolute;
right: 23px;
top: 20px;
width: 7px;
height: 40px;
background: #1b2740;
border: 1px solid #3f4f6b;
border-radius: 1px;
}
.fx-v14-tl-sequence-15808 .m {
position: absolute;
left: 30px;
right: 26px;
height: 22px;
border-top: 1.6px solid #38bdf8;
transition: border-color 0.2s ease, opacity 0.2s ease;
}
.fx-v14-tl-sequence-15808 .m span {
position: absolute;
left: 50%;
top: -14px;
transform: translateX(-50%);
white-space: nowrap;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.58rem;
color: #94a3b8;
transition: color 0.2s ease;
}
.fx-v14-tl-sequence-15808 .m::after {
content: '';
position: absolute;
top: -5.6px;
width: 0;
height: 0;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
}
.fx-v14-tl-sequence-15808 .go::after { right: -1px; border-left: 8px solid #38bdf8; }
.fx-v14-tl-sequence-15808 .back {
border-top-style: dashed;
border-top-color: #64748b;
}
.fx-v14-tl-sequence-15808 .back::after { left: -1px; border-right: 8px solid #64748b; }
.fx-v14-tl-sequence-15808 .bd:hover .m { opacity: 0.35; }
.fx-v14-tl-sequence-15808 .bd .m:hover { opacity: 1; border-top-color: #7dd3fc; }
.fx-v14-tl-sequence-15808 .m:hover span { color: #f1f5f9; }
.fx-v14-tl-sequence-15808 .back:hover { border-top-color: #cbd5e1; }<div class="fx-v14-tl-sequence-15808">
<div class="hd">
<b>Client</b>
<b>API</b>
</div>
<div class="bd">
<i class="lf"></i>
<i class="rt"></i>
<i class="act"></i>
<div class="m go" style="top:20px">
<span>POST /session</span>
</div>
<div class="m back" style="top:52px">
<span>201 token</span>
</div>
<div class="m go" style="top:84px">
<span>GET /me</span>
</div>
</div>
</div>What do I do with this?
- Put
sequence-diagram-steps-15809.cssanywhere your page already loads CSS from — in Next.js that isapp/globals.css, or any stylesheet with a<link>in your HTML. - Then put the class on the element you want it on:
<button class="fx-v14-tl-sequence-15808">. The CSS does nothing until a class name in it matches something on the page.
- Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add sequence-diagram-steps-15809What's included
- The markup and the stylesheet, in whichever framework you pick
- No runtime dependencies
Works with
- React
- Vue
- Svelte
- Tailwind
- styled-components
- Plain CSS
npx hoverlab add sequence-diagram-steps-15809
Or over MCP, from your editor's agent — no account needed.
License
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Motion safety
Static estimate, read from the CSS
- Reduced motion
- Brief motion, no guard
Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.
- What it animates
- Repaints
Animates
color. No reflow, but the browser repaints every frame, which is fine for one element and costly across many. - Flashing (WCAG 2.3.1)
- No flashing found
No repeating change in opacity, colour or brightness large enough to count as a flash.
- Layout shift (CLS)
- No shift expected
Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.
Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed
32 more effects in Timelines & Steps
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse Timelines & StepsShipping one commercially
Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
- A commercial licence for everything in the catalog
- Unlimited bundle exports, in Vue, Svelte and Tailwind
- One payment — no subscription, nothing to renew
7 variations of Sequence Diagram Steps
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.