Mail Client Skeleton
Three-pane inbox placeholder — an icon rail, a message list with one row already marked as selected, and a reading pane with a sender block and ragged body lines — under one sweep across all three panes.
- lines of CSS
- 138lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- stops under reduced motion
- Guardedstops under reduced motion
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v14-sk-mail-15878 {
position: relative;
display: flex;
width: 258px;
height: 144px;
overflow: hidden;
border-radius: 0.55rem;
background: #0f1626;
border: 1px solid #253049;
font-family: system-ui, sans-serif;
}
.fx-v14-sk-mail-15878 .rail {
flex: none;
display: grid;
gap: 10px;
align-content: start;
justify-items: center;
width: 34px;
padding: 9px 0;
background: #0c1220;
border-right: 1px solid #1e2a44;
}
.fx-v14-sk-mail-15878 .rail i {
width: 18px;
height: 7px;
border-radius: 3px;
background: #1e293b;
}
.fx-v14-sk-mail-15878 .rail i.lg {
width: 14px;
height: 14px;
border-radius: 4px;
background: #2a3b5f;
}
.fx-v14-sk-mail-15878 .list {
flex: none;
display: grid;
gap: 9px;
align-content: start;
width: 82px;
padding: 9px 7px;
border-right: 1px solid #1e2a44;
}
.fx-v14-sk-mail-15878 .list .rw {
display: grid;
gap: 5px;
padding: 3px 4px;
border-radius: 0.25rem;
}
.fx-v14-sk-mail-15878 .list .rw.on {
background: #1c2c4d;
box-shadow: inset 2px 0 0 #38bdf8;
}
.fx-v14-sk-mail-15878 .list b {
display: block;
width: 68%;
height: 6px;
border-radius: 3px;
background: #33456b;
}
.fx-v14-sk-mail-15878 .list u {
display: block;
width: 100%;
height: 5px;
border-radius: 3px;
background: #1e293b;
}
.fx-v14-sk-mail-15878 .rd {
flex: 1;
display: grid;
gap: 8px;
align-content: start;
padding: 10px;
}
.fx-v14-sk-mail-15878 .rd .hd {
display: flex;
align-items: center;
gap: 7px;
}
.fx-v14-sk-mail-15878 .rd .hd > div {
flex: 1;
display: grid;
gap: 5px;
}
.fx-v14-sk-mail-15878 .rd .av {
flex: none;
width: 22px;
height: 22px;
border-radius: 50%;
background: #2a3b5f;
}
.fx-v14-sk-mail-15878 .rd b {
display: block;
width: 72%;
height: 7px;
border-radius: 3px;
background: #33456b;
}
.fx-v14-sk-mail-15878 .rd u {
display: block;
width: 46%;
height: 5px;
border-radius: 3px;
background: #1e293b;
}
.fx-v14-sk-mail-15878 .rd p {
margin: 0;
height: 6px;
border-radius: 3px;
background: #1a2437;
}
.fx-v14-sk-mail-15878 .rd p.s { width: 74%; }
.fx-v14-sk-mail-15878::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(100deg, transparent 28%, rgba(148,197,255,0.09) 50%, transparent 72%);
animation: fx-v14-sk-mail-15878-sweep 2s ease-in-out infinite;
}
@keyframes fx-v14-sk-mail-15878-sweep {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
.fx-v14-sk-mail-15878,
.fx-v14-sk-mail-15878::before,
.fx-v14-sk-mail-15878::after,
.fx-v14-sk-mail-15878 *,
.fx-v14-sk-mail-15878 *::before,
.fx-v14-sk-mail-15878 *::after {
animation-duration: 1ms !important;
animation-iteration-count: 1 !important;
animation-delay: 0ms !important;
transition-duration: 1ms !important;
transition-delay: 0ms !important;
}
}<div class="fx-v14-sk-mail-15878">
<div class="rail">
<i class="lg"></i>
<i></i>
<i></i>
<i></i>
<i></i>
</div>
<div class="list">
<div class="rw on">
<b></b>
<u></u>
</div>
<div class="rw ">
<b></b>
<u></u>
</div>
<div class="rw ">
<b></b>
<u></u>
</div>
<div class="rw ">
<b></b>
<u></u>
</div>
</div>
<div class="rd">
<div class="hd">
<i class="av"></i>
<div>
<b></b>
<u></u>
</div>
</div>
<p></p>
<p></p>
<p class="s"></p>
<p></p>
<p class="s"></p>
</div>
</div>What do I do with this?
- Put
mail-client-skeleton-15879.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-sk-mail-15878">. 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 mail-client-skeleton-15879What'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 mail-client-skeleton-15879
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
- Guarded
Ships a
prefers-reduced-motionblock, so the loop settles into its end state for visitors who ask for less motion. - What it animates
- Compositor only
Only
transform,opacityorfilter: the GPU can run it without re-laying-out or repainting the page. - 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
30 more effects in Skeletons & Shimmers
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 Skeletons & ShimmersShipping 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 Mail Client Skeleton
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.