Ocean Pinned Column Table
Row headers frozen with `position: sticky` while the measures scroll, using a box-shadow as the divider so the seam does not scroll away.
- lines of CSS
- 52lines of CSS
- dependencies
- 0dependencies
- baseline browsers
- Newlybaseline browsers
- no motion at all
- Noneno motion at all
| Region | Q1 | Q2 | Q3 | Q4 |
|---|---|---|---|---|
| EMEA | 412 | 498 | 530 | 602 |
| APAC | 287 | 341 | 388 | 410 |
| LATAM | 164 | 190 | 212 | 256 |
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v6-table-pinned-ocean-9570 {
width: 280px;
overflow-x: auto;
border-radius: 0.55rem;
background: #111827;
box-shadow: 0 0 0 1px #1f2937;
}
.fx-v6-table-pinned-ocean-9570 table {
border-collapse: collapse;
font-size: 0.75rem;
min-width: 380px;
}
.fx-v6-table-pinned-ocean-9570 th, .fx-v6-table-pinned-ocean-9570 td {
padding: 0.55rem 0.8rem;
white-space: nowrap;
border-bottom: 1px solid #1f2937;
}
.fx-v6-table-pinned-ocean-9570 thead th {
text-align: left;
font-size: 0.66rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #64748b;
background: #0f172a;
}
.fx-v6-table-pinned-ocean-9570 tbody th {
position: sticky;
left: 0;
text-align: left;
font-weight: 600;
color: #06b6d4;
background: #111827;
box-shadow: 1px 0 0 #1f2937;
}
.fx-v6-table-pinned-ocean-9570 thead th:first-child {
position: sticky;
left: 0;
z-index: 1;
background: #0f172a;
box-shadow: 1px 0 0 #1f2937;
}
.fx-v6-table-pinned-ocean-9570 td {
color: #cbd5e1;
text-align: right;
font-variant-numeric: tabular-nums;
}
.fx-v6-table-pinned-ocean-9570 tbody tr:hover td { background: rgba(59,130,246, 0.07); }
.fx-v6-table-pinned-ocean-9570::-webkit-scrollbar { height: 6px; }
.fx-v6-table-pinned-ocean-9570::-webkit-scrollbar-thumb {
border-radius: 3px;
background: linear-gradient(90deg, #3b82f6, #6366f1);
}<div class="fx-v6-table-pinned-ocean-9570">
<table>
<thead>
<tr>
<th>Region</th>
<th>Q1</th>
<th>Q2</th>
<th>Q3</th>
<th>Q4</th>
</tr>
</thead>
<tbody>
<tr>
<th>EMEA</th>
<td>412</td>
<td>498</td>
<td>530</td>
<td>602</td>
</tr>
<tr>
<th>APAC</th>
<td>287</td>
<td>341</td>
<td>388</td>
<td>410</td>
</tr>
<tr>
<th>LATAM</th>
<td>164</td>
<td>190</td>
<td>212</td>
<td>256</td>
</tr>
</tbody>
</table>
</div>What do I do with this?
- Put
ocean-pinned-column-table-9571.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-v6-table-pinned-ocean-9570">. 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-pinned-column-table-9571What'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-pinned-column-table-9571
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
- Nothing animates
No animation or transition, so there is nothing to switch off.
- What it animates
- Nothing
No property is animated.
- 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 Ocean Pinned Column Table
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.