Ocean Empty Table
Zero-row state that keeps the header so the columns still teach what will appear, with one action rather than a bare "no data" line.
- lines of CSS
- 69lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- no motion at all
- Noneno motion at all
| Invoice | Status | Amount |
|---|
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v8-table-empty-ocean-12130 {
width: 292px;
border-radius: 0.6rem;
overflow: hidden;
background: #111827;
border: 1px solid #1f2937;
}
.fx-v8-table-empty-ocean-12130 table {
width: 100%;
border-collapse: collapse;
}
.fx-v8-table-empty-ocean-12130 th {
padding: 0.55rem 0.75rem;
text-align: left;
font-size: 0.66rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #64748b;
background: #0f172a;
border-bottom: 1px solid #1f2937;
}
.fx-v8-table-empty-ocean-12130 .empty {
padding: 1.6rem 1rem 1.4rem;
text-align: center;
}
.fx-v8-table-empty-ocean-12130 i {
position: relative;
display: block;
width: 40px;
height: 48px;
margin: 0 auto 0.8rem;
border-radius: 0.2rem 0.5rem 0.3rem 0.3rem;
background: rgba(6,182,212, 0.14);
box-shadow: inset 0 0 0 1.5px rgba(6,182,212, 0.4);
}
.fx-v8-table-empty-ocean-12130 i::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 14px;
height: 14px;
background: #111827;
clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.fx-v8-table-empty-ocean-12130 b {
display: block;
font-size: 0.84rem;
color: #e2e8f0;
}
.fx-v8-table-empty-ocean-12130 span {
display: block;
margin-top: 0.3rem;
font-size: 0.74rem;
line-height: 1.5;
color: #64748b;
}
.fx-v8-table-empty-ocean-12130 button {
margin-top: 0.9rem;
padding: 0.4rem 1rem;
border: none;
border-radius: 0.4rem;
font-size: 0.76rem;
font-weight: 600;
color: #0b1120;
cursor: pointer;
background: linear-gradient(90deg, #3b82f6, #6366f1);
}<div class="fx-v8-table-empty-ocean-12130">
<table>
<thead>
<tr>
<th>Invoice</th>
<th>Status</th>
<th>Amount</th>
</tr>
</thead>
</table>
<div class="empty">
<i></i>
<b>No invoices yet</b>
<span>They will appear here after your first charge.</span>
<button>Create one</button>
</div>
</div>What do I do with this?
- Put
ocean-empty-table-12131.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-v8-table-empty-ocean-12130">. 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-empty-table-12131What'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-empty-table-12131
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 Empty Table
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.