Autoplay Feature Tabs
Vertical feature rail where the active row carries a progress line that fills on a timer before handing over to the next.
- lines of CSS
- 56lines 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-v13-at-autoplay-15466 {
width: 224px;
display: grid;
gap: 0.3rem;
padding: 0.5rem;
background: #111a2b;
border: 1px solid #253049;
border-radius: 0.6rem;
}
.fx-v13-at-autoplay-15466 .row {
padding: 0.45rem 0.55rem 0.5rem;
border-radius: 0.45rem;
background: #16203a;
cursor: pointer;
transition: background 0.2s ease;
}
.fx-v13-at-autoplay-15466 .row:hover { background: #1c2946; }
.fx-v13-at-autoplay-15466 b { display: block; font-size: 0.76rem; color: #94a3b8; transition: color 0.25s ease; }
.fx-v13-at-autoplay-15466 .row i {
display: block;
height: 3px;
margin-top: 0.45rem;
border-radius: 2px;
background: rgba(148,163,184,0.2);
overflow: hidden;
}
.fx-v13-at-autoplay-15466 .row i::after {
content: '';
display: block;
height: 100%;
width: 0;
border-radius: 2px;
background: linear-gradient(90deg, #22d3ee, #6366f1);
}
.fx-v13-at-autoplay-15466 .on { background: #1c2946; }
.fx-v13-at-autoplay-15466 .on b { color: #f1f5f9; }
.fx-v13-at-autoplay-15466 .on i::after { animation: fx-v13-at-autoplay-15466-fill 4.5s linear infinite; }
@keyframes fx-v13-at-autoplay-15466-fill {
0% { width: 0; }
100% { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
.fx-v13-at-autoplay-15466,
.fx-v13-at-autoplay-15466::before,
.fx-v13-at-autoplay-15466::after,
.fx-v13-at-autoplay-15466 *,
.fx-v13-at-autoplay-15466 *::before,
.fx-v13-at-autoplay-15466 *::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-v13-at-autoplay-15466">
<div class="row on">
<b>Copy any effect</b>
<i></i>
</div>
<div class="row">
<b>Re-colour it</b>
<i></i>
</div>
<div class="row">
<b>Ship the CSS</b>
<i></i>
</div>
</div>What do I do with this?
- Put
autoplay-feature-tabs-15467.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-v13-at-autoplay-15466">. 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 autoplay-feature-tabs-15467What'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 autoplay-feature-tabs-15467
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
- Reflows
Animates
width(andbackground,color). The browser re-lays-out the page on every frame; prefertransformif you can. - 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)
- May shift layout
Animates
widthon a box in flow, so content beside or after it can move. 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 Accordions & Tabs
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 Accordions & TabsShipping 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 Autoplay Feature Tabs
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.