Ocean Command Palette
⌘K palette on a blurred panel with an ocean selected row — the navigation surface every dev tool now ships.
- lines of CSS
- 74lines of CSS
- dependencies
- 0dependencies
- baseline browsers
- Newlybaseline browsers
- motion only on interaction
- Hovermotion only on interaction
- Go to dashboard
- Create project
- Invite teammate
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-mmd-cmdk-ocean-6268 {
width: 245px;
border-radius: 0.8rem;
overflow: hidden;
background: rgba(11,17,32,0.9);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255,255,255,0.12);
box-shadow: 0 26px 60px rgba(0,0,0,0.6);
animation: fx-mmd-cmdk-ocean-6268-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.fx-mmd-cmdk-ocean-6268 .bar {
display: flex;
align-items: center;
gap: 0.55rem;
padding: 0.65rem 0.7rem;
border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fx-mmd-cmdk-ocean-6268 .ic {
flex: none;
width: 12px;
height: 12px;
border: 2px solid #0ea5e9;
border-radius: 50%;
position: relative;
}
.fx-mmd-cmdk-ocean-6268 .ic::after {
content: '';
position: absolute;
right: -5px;
bottom: -4px;
width: 6px;
height: 2px;
border-radius: 2px;
background: #0ea5e9;
transform: rotate(45deg);
}
.fx-mmd-cmdk-ocean-6268 input {
flex: 1;
min-width: 0;
border: none;
outline: none;
background: none;
font-size: 0.83rem;
color: #e2e8f0;
}
.fx-mmd-cmdk-ocean-6268 input::placeholder { color: #475569; }
.fx-mmd-cmdk-ocean-6268 kbd {
padding: 0.1rem 0.35rem;
font-family: inherit;
font-size: 0.62rem;
color: #94a3b8;
border-radius: 0.25rem;
background: rgba(255,255,255,0.07);
border: 1px solid rgba(255,255,255,0.1);
}
.fx-mmd-cmdk-ocean-6268 ul { list-style: none; margin: 0; padding: 0.35rem; }
.fx-mmd-cmdk-ocean-6268 li {
padding: 0.45rem 0.6rem;
font-size: 0.8rem;
color: #94a3b8;
border-radius: 0.4rem;
cursor: pointer;
transition: background 0.16s ease, color 0.16s ease;
}
.fx-mmd-cmdk-ocean-6268 li:hover { color: #e2e8f0; background: rgba(255,255,255,0.06); }
.fx-mmd-cmdk-ocean-6268 li.on {
color: #fff;
background: linear-gradient(90deg, rgba(14,165,233, 0.3), rgba(99,102,241, 0.14));
box-shadow: inset 2px 0 0 #0ea5e9;
}
@keyframes fx-mmd-cmdk-ocean-6268-in {
from { opacity: 0; transform: translateY(-8px) scale(0.98); }
}<div class="fx-mmd-cmdk-ocean-6268">
<div class="bar">
<span class="ic"></span>
<input placeholder="Type a command…" readonly />
<kbd>esc</kbd>
</div>
<ul>
<li class="on">Go to dashboard</li>
<li>Create project</li>
<li>Invite teammate</li>
</ul>
</div>What do I do with this?
- Put
ocean-command-palette-6269.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-cmdk-ocean-6268">. 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 ocean-command-palette-6269What'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 ocean-command-palette-6269
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
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 Ocean Command Palette
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.