Ocean Wizard Stepper
Four-step wizard with completed ticks, a pulsing current step and ocean connector rails.
- lines of CSS
- 80lines 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-v5-step-wizard-ocean-8518 {
display: flex;
width: 260px;
}
.fx-v5-step-wizard-ocean-8518 .s {
position: relative;
flex: 1;
text-align: center;
}
.fx-v5-step-wizard-ocean-8518 .s::before {
content: '';
position: absolute;
left: -50%;
top: 10px;
width: 100%;
height: 2px;
background: #1e293b;
}
.fx-v5-step-wizard-ocean-8518 .s:first-child::before { display: none; }
.fx-v5-step-wizard-ocean-8518 .done::before, .fx-v5-step-wizard-ocean-8518 .now::before {
background: linear-gradient(90deg, #0ea5e9, #6366f1);
}
.fx-v5-step-wizard-ocean-8518 i {
position: relative;
z-index: 1;
display: block;
width: 22px;
height: 22px;
margin: 0 auto 0.4rem;
border-radius: 50%;
background: #0f172a;
box-shadow: inset 0 0 0 2px #1e293b;
transition: box-shadow 0.3s ease;
}
.fx-v5-step-wizard-ocean-8518 .done i {
background: linear-gradient(140deg, #0ea5e9, #6366f1);
box-shadow: none;
}
.fx-v5-step-wizard-ocean-8518 .done i::after {
content: '';
position: absolute;
left: 8px;
top: 4px;
width: 5px;
height: 10px;
border: solid #0b1120;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.fx-v5-step-wizard-ocean-8518 .now i {
box-shadow: inset 0 0 0 2px #0ea5e9;
animation: fx-v5-step-wizard-ocean-8518-pulse 1.8s ease-in-out infinite;
}
.fx-v5-step-wizard-ocean-8518 .now i::after {
content: '';
position: absolute;
inset: 6px;
border-radius: 50%;
background: #0ea5e9;
}
.fx-v5-step-wizard-ocean-8518 span { font-size: 0.7rem; color: #64748b; }
.fx-v5-step-wizard-ocean-8518 .done span, .fx-v5-step-wizard-ocean-8518 .now span { color: #cbd5e1; }
@keyframes fx-v5-step-wizard-ocean-8518-pulse {
50% { box-shadow: inset 0 0 0 2px #0ea5e9, 0 0 0 5px rgba(14,165,233, 0.18); }
}
@media (prefers-reduced-motion: reduce) {
.fx-v5-step-wizard-ocean-8518,
.fx-v5-step-wizard-ocean-8518::before,
.fx-v5-step-wizard-ocean-8518::after,
.fx-v5-step-wizard-ocean-8518 *,
.fx-v5-step-wizard-ocean-8518 *::before,
.fx-v5-step-wizard-ocean-8518 *::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-v5-step-wizard-ocean-8518">
<div class="s done">
<i></i>
<span>Cart</span>
</div>
<div class="s done">
<i></i>
<span>Address</span>
</div>
<div class="s now">
<i></i>
<span>Payment</span>
</div>
<div class="s">
<i></i>
<span>Done</span>
</div>
</div>What do I do with this?
- Put
ocean-wizard-stepper-8519.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-v5-step-wizard-ocean-8518">. 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-wizard-stepper-8519What'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-wizard-stepper-8519
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
- Repaints
Animates
box-shadow. 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
32 more effects in Timelines & Steps
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 Timelines & StepsShipping 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 Wizard Stepper
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.