Row Reorder Table
Stage rows carrying dotted grip handles, where pointing at one lifts it off the table with a shadow and drops a blue insertion line beneath it.
- lines of CSS
- 68lines 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-v14-tb-reorder-15820 {
width: 240px;
color: #cbd5e1;
background: #0f1626;
border: 1px solid #253049;
border-radius: 0.5rem;
padding-bottom: 0.3rem;
}
.fx-v14-tb-reorder-15820 .hd {
display: flex;
justify-content: space-between;
padding: 0.35rem 0.6rem;
font-size: 0.55rem;
letter-spacing: 0.04em;
text-transform: uppercase;
color: #64748b;
border-bottom: 1px solid #253049;
margin-bottom: 0.3rem;
}
.fx-v14-tb-reorder-15820 .r {
position: relative;
display: flex;
align-items: center;
gap: 0.55rem;
margin: 0 0.3rem;
padding: 0.4rem 0.5rem;
background: #131c31;
border: 1px solid transparent;
border-radius: 0.35rem;
cursor: grab;
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.fx-v14-tb-reorder-15820 .r + .r { margin-top: 0.25rem; }
.fx-v14-tb-reorder-15820 .gp {
flex: none;
width: 8px;
height: 14px;
background-image: radial-gradient(circle, #475569 1.1px, transparent 1.2px);
background-size: 4px 5px;
transition: background-image 0.18s ease;
}
.fx-v14-tb-reorder-15820 b { flex: 1; font-size: 0.69rem; font-weight: 500; }
.fx-v14-tb-reorder-15820 em {
font-style: normal;
font-size: 0.6rem;
color: #64748b;
font-variant-numeric: tabular-nums;
}
.fx-v14-tb-reorder-15820 .r::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: -4px;
height: 2px;
border-radius: 1px;
background: #38bdf8;
opacity: 0;
transition: opacity 0.18s ease;
}
.fx-v14-tb-reorder-15820 .r:hover {
background: #1b2740;
border-color: #3f5578;
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(2,6,23,0.55);
}
.fx-v14-tb-reorder-15820 .r:hover .gp { background-image: radial-gradient(circle, #7dd3fc 1.1px, transparent 1.2px); }
.fx-v14-tb-reorder-15820 .r:hover::after { opacity: 1; }<div class="fx-v14-tb-reorder-15820">
<div class="hd">
<span>Order</span>
<span>Stage</span>
</div>
<div class="r">
<i class="gp"></i>
<b>Discovery call</b>
<em>1</em>
</div>
<div class="r">
<i class="gp"></i>
<b>Technical review</b>
<em>2</em>
</div>
<div class="r">
<i class="gp"></i>
<b>Contract sent</b>
<em>3</em>
</div>
</div>What do I do with this?
- Put
row-reorder-table-15821.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-tb-reorder-15820">. 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 row-reorder-table-15821What'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 row-reorder-table-15821
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,background-image,border-color,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
33 more effects in Tables & Data Grids
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 Tables & Data GridsShipping 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 Row Reorder Table
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.