Folder Tab Stack
Manila-folder tabs stacked at different depths where the selected one rises to the front and paints over the pane border so tab and panel read as a single sheet, while the others sit sunk behind until hovered.
- lines of CSS
- 61lines 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-nav-folder-15680 {
position: relative;
width: 252px;
font-size: 0.72rem;
}
.fx-v14-nav-folder-15680 .ts {
display: flex;
align-items: flex-end;
gap: 2px;
padding-left: 10px;
}
.fx-v14-nav-folder-15680 .t {
position: relative;
z-index: 1;
padding: 0.3rem 0.55rem 0.4rem;
color: #8ea0ba;
background: #141d33;
border: 1px solid #253049;
border-bottom: none;
border-radius: 0.5rem 0.5rem 0 0;
transform: translateY(5px);
cursor: pointer;
transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.fx-v14-nav-folder-15680 .t:hover { z-index: 2; transform: translateY(1px); background: #1b263f; color: #cbd5e1; }
.fx-v14-nav-folder-15680 .on {
z-index: 3;
color: #e2e8f0;
background: #1b263f;
border-top: 2px solid #38bdf8;
transform: translateY(0);
}
.fx-v14-nav-folder-15680 .on::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: -1px;
height: 2px;
background: #1b263f;
}
.fx-v14-nav-folder-15680 .pn {
position: relative;
z-index: 2;
height: 78px;
padding: 0.6rem 0.75rem;
background: #1b263f;
border: 1px solid #253049;
border-radius: 0 0.5rem 0.5rem 0.5rem;
}
.fx-v14-nav-folder-15680 .pn b { display: block; font-size: 0.78rem; color: #e2e8f0; }
.fx-v14-nav-folder-15680 .pn i {
display: block;
height: 7px;
margin-top: 9px;
border-radius: 3px;
background: #27334d;
}
.fx-v14-nav-folder-15680 .pn i:nth-of-type(1) { width: 84%; }
.fx-v14-nav-folder-15680 .pn i:nth-of-type(2) { width: 62%; }
.fx-v14-nav-folder-15680 .pn i:nth-of-type(3) { width: 40%; }<div class="fx-v14-nav-folder-15680">
<div class="ts">
<a class="t on">Overview</a>
<a class="t">Assets</a>
<a class="t">History</a>
<a class="t">Share</a>
</div>
<div class="pn">
<b>Overview</b>
<i></i>
<i></i>
<i></i>
</div>
</div>What do I do with this?
- Put
folder-tab-stack-15681.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-nav-folder-15680">. 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 folder-tab-stack-15681What'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 folder-tab-stack-15681
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
background,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
33 more effects in Navigation & Menus
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 Navigation & MenusShipping 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 Folder Tab Stack
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.