Split Pane Grip
The separator holding an editor and its preview apart is a working splitter: reaching for the nine-pixel channel lights it blue, stretches its three grip dots and pushes a pair of arrowheads out into each pane to say which way it drags.
- lines of CSS
- 85lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- motion only on interaction
- Hovermotion only on interaction
const total = items
.reduce(sum, 0)
Total: 128 items
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v14-dv-split-15862 {
display: flex;
align-items: stretch;
width: 254px;
height: 116px;
background: #101a2e;
border: 1px solid #22304d;
border-radius: 0.55rem;
overflow: hidden;
}
.fx-v14-dv-split-15862 .pn {
flex: 1;
min-width: 0;
padding: 0.55rem 0.6rem;
}
.fx-v14-dv-split-15862 .pn b {
display: block;
font-size: 0.58rem;
letter-spacing: 0.14em;
text-transform: uppercase;
color: #64748b;
}
.fx-v14-dv-split-15862 .pn p {
margin: 0.35rem 0 0;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.6rem;
line-height: 1.5;
color: #94a3b8;
}
.fx-v14-dv-split-15862 .pn.r p { font-family: inherit; color: #cbd5e1; }
.fx-v14-dv-split-15862 .sp {
position: relative;
flex: none;
width: 9px;
background: #1a2540;
border-left: 1px solid #22304d;
border-right: 1px solid #22304d;
cursor: col-resize;
transition: background 0.22s ease, box-shadow 0.22s ease;
}
.fx-v14-dv-split-15862 .sp i {
position: absolute;
left: 50%;
top: 50%;
width: 3px;
height: 3px;
margin: -1.5px 0 0 -1.5px;
border-radius: 50%;
background: #475569;
box-shadow: 0 -8px 0 #475569, 0 8px 0 #475569;
transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.28s cubic-bezier(0.34, 1.6, 0.64, 1);
}
.fx-v14-dv-split-15862 .sp::before,
.fx-v14-dv-split-15862 .sp::after {
content: '';
position: absolute;
top: 50%;
width: 5px;
height: 8px;
margin-top: -4px;
background: #60a5fa;
opacity: 0;
transition: opacity 0.22s ease, transform 0.28s ease;
}
.fx-v14-dv-split-15862 .sp::before {
right: 12px;
clip-path: polygon(100% 0, 100% 100%, 0 50%);
transform: translateX(6px);
}
.fx-v14-dv-split-15862 .sp::after {
left: 12px;
clip-path: polygon(0 0, 0 100%, 100% 50%);
transform: translateX(-6px);
}
.fx-v14-dv-split-15862 .sp:hover {
background: #1e3a8a;
box-shadow: 0 0 12px rgba(59, 130, 246, 0.45);
}
.fx-v14-dv-split-15862 .sp:hover i {
background: #bfdbfe;
box-shadow: 0 -8px 0 #bfdbfe, 0 8px 0 #bfdbfe;
transform: scaleY(1.6);
}
.fx-v14-dv-split-15862 .sp:hover::before,
.fx-v14-dv-split-15862 .sp:hover::after { opacity: 1; transform: translateX(0); }<div class="fx-v14-dv-split-15862">
<div class="pn">
<b>Editor</b>
<p>const total = items<br /> .reduce(sum, 0)</p>
</div>
<div class="sp">
<i></i>
</div>
<div class="pn r">
<b>Preview</b>
<p>Total: 128 items</p>
</div>
</div>What do I do with this?
- Put
split-pane-grip-15863.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-v14-dv-split-15862">. 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 split-pane-grip-15863What'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 split-pane-grip-15863
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,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
35 more effects in Dividers & Separators
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 Dividers & SeparatorsShipping 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 Split Pane Grip
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.