Settings Modal
Two-pane settings dialog with a section rail on the left and the active pane on the right, fields and a switch included.
- lines of CSS
- 64lines 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-v13-mo-settings-15446 {
display: flex;
width: 254px;
background: #131a2b;
border: 1px solid #253049;
border-radius: 0.7rem;
overflow: hidden;
box-shadow: 0 22px 46px rgba(0,0,0,0.55);
font-size: 0.72rem;
color: #cbd5e1;
}
.fx-v13-mo-settings-15446 aside {
flex: none;
width: 78px;
display: grid;
align-content: start;
gap: 1px;
padding: 0.45rem 0.3rem;
background: #0f1626;
border-right: 1px solid #253049;
}
.fx-v13-mo-settings-15446 aside a {
padding: 0.32rem 0.45rem;
border-radius: 0.3rem;
color: #94a3b8;
cursor: pointer;
transition: background 0.16s ease, color 0.16s ease;
}
.fx-v13-mo-settings-15446 aside a:hover { background: #1a2437; color: #e2e8f0; }
.fx-v13-mo-settings-15446 aside .on { background: #1e293b; color: #7dd3fc; }
.fx-v13-mo-settings-15446 section { flex: 1; padding: 0.6rem 0.7rem 0.75rem; }
.fx-v13-mo-settings-15446 section b { display: block; font-size: 0.8rem; color: #f1f5f9; margin-bottom: 0.5rem; }
.fx-v13-mo-settings-15446 label { display: grid; gap: 2px; margin-bottom: 0.45rem; }
.fx-v13-mo-settings-15446 label span { font-size: 0.62rem; color: #64748b; }
.fx-v13-mo-settings-15446 label i {
display: block;
padding: 0.28rem 0.45rem;
font-style: normal;
color: #e2e8f0;
background: #0f1626;
border: 1px solid #29344d;
border-radius: 0.3rem;
}
.fx-v13-mo-settings-15446 .s { display: flex; align-items: center; justify-content: space-between; margin-top: 0.55rem; }
.fx-v13-mo-settings-15446 .s u {
position: relative;
width: 30px;
height: 17px;
border-radius: 999px;
background: #34d399;
cursor: pointer;
}
.fx-v13-mo-settings-15446 .s u::after {
content: '';
position: absolute;
top: 2px;
left: 15px;
width: 13px;
height: 13px;
border-radius: 50%;
background: #fff;
transition: left 0.24s ease;
}
.fx-v13-mo-settings-15446 .s u:hover::after { left: 13px; }<div class="fx-v13-mo-settings-15446">
<aside>
<a class="on">General</a>
<a>Members</a>
<a>Billing</a>
<a>API</a>
</aside>
<section>
<b>General</b>
<label>
<span>Workspace name</span>
<i>Atlas</i>
</label>
<label>
<span>Region</span>
<i>eu-west-2</i>
</label>
<div class="s">
<span>Public profile</span>
<u></u>
</div>
</section>
</div>What do I do with this?
- Put
settings-modal-15447.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-mo-settings-15446">. 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 settings-modal-15447What'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 settings-modal-15447
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
- Reflows
Animates
left(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
lefton 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 Modals & Overlays
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 Modals & OverlaysShipping 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 Settings Modal
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.