Blue Confirm Dialog
Destructive-action confirm with a blue ring, warning glyph, and a ghost/solid button pair.
- lines of CSS
- 63lines of CSS
- dependencies
- 0dependencies
- baseline browsers
- Newlybaseline browsers
- motion only on interaction
- Hovermotion only on interaction
This removes all deployments and cannot be undone.
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-mmd-confirm-blue-6302 {
position: relative;
width: 235px;
padding: 1.15rem 1.1rem 1.05rem;
border-radius: 0.9rem;
background: #0b1120;
box-shadow: 0 26px 60px rgba(0,0,0,0.6);
animation: fx-mmd-confirm-blue-6302-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.fx-mmd-confirm-blue-6302::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
padding: 1px;
background: linear-gradient(rgba(59,130,246, 0.6), rgba(255,255,255,0.06));
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
mask-composite: exclude;
pointer-events: none;
}
.fx-mmd-confirm-blue-6302 .ic {
position: relative;
display: grid;
place-items: center;
width: 32px;
height: 32px;
margin-bottom: 0.65rem;
font-weight: 800;
color: #93c5fd;
border-radius: 50%;
background: rgba(59,130,246, 0.16);
box-shadow: 0 0 0 5px rgba(59,130,246, 0.08);
}
.fx-mmd-confirm-blue-6302 strong { position: relative; font-size: 0.92rem; color: #f1f5f9; }
.fx-mmd-confirm-blue-6302 p { position: relative; margin: 0.3rem 0 0.9rem; font-size: 0.77rem; line-height: 1.5; color: #7c8aa5; }
.fx-mmd-confirm-blue-6302 .row { position: relative; display: flex; gap: 0.5rem; }
.fx-mmd-confirm-blue-6302 button {
flex: 1;
padding: 0.45rem;
font-size: 0.79rem;
font-weight: 600;
border-radius: 0.5rem;
cursor: pointer;
transition: filter 0.2s ease, background 0.2s ease;
}
.fx-mmd-confirm-blue-6302 .ghost {
color: #cbd5e1;
border: 1px solid rgba(255,255,255,0.14);
background: transparent;
}
.fx-mmd-confirm-blue-6302 .ghost:hover { background: rgba(255,255,255,0.06); }
.fx-mmd-confirm-blue-6302 .go {
color: #fff;
border: none;
background: #3b82f6;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.fx-mmd-confirm-blue-6302 .go:hover { filter: brightness(1.1); }
@keyframes fx-mmd-confirm-blue-6302-in {
from { opacity: 0; transform: translateY(10px) scale(0.97); }
}<div class="fx-mmd-confirm-blue-6302">
<span class="ic">!</span>
<strong>Delete project?</strong>
<p>This removes all deployments and cannot be undone.</p>
<div class="row">
<button class="ghost">Cancel</button>
<button class="go">Delete</button>
</div>
</div>What do I do with this?
- Put
blue-confirm-dialog-6303.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-mmd-confirm-blue-6302">. 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 blue-confirm-dialog-6303What'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 blue-confirm-dialog-6303
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. 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
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 Blue Confirm Dialog
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.