Skip to content
Added 13 Aug 2026
Back to library
ocean-inline-edit-grid-13491
Ocean Inline Edit Grid
Tables & Data Grids

Ocean Inline Edit Grid

Spreadsheet-style cells that outline under the pointer and drop into an editing state in place, so committing a value never costs a dialog or a round trip to a detail page.

Tables & Data Gridstableinline editgridspreadsheetcellocean
lines of CSS
69lines of CSS
dependencies
0dependencies
browser, for years
Everybrowser, for years
stops under reduced motion
Guardedstops under reduced motion
Backdrop
SKUStockPrice
HL-10428$34.00
HL-2207$18.50
HL-318142$92.00
Open a live copy in

Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.

ocean-inline-edit-grid-13491.css
.fx-v9-table-inline-ocean-13490 {
  width: 244px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0b1120;
  border: 1px solid #1e293b;
  font-size: 0.73rem;
}
.fx-v9-table-inline-ocean-13490 th {
  padding: 0.42rem 0.6rem;
  text-align: left;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}
.fx-v9-table-inline-ocean-13490 td {
  padding: 0.42rem 0.6rem;
  color: #cbd5e1;
  border-bottom: 1px solid #131f38;
  cursor: text;
  transition: box-shadow 0.16s ease, background 0.16s ease;
}
.fx-v9-table-inline-ocean-13490 tr:last-child td { border-bottom: none; }
.fx-v9-table-inline-ocean-13490 th:not(:first-child),
.fx-v9-table-inline-ocean-13490 td:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fx-v9-table-inline-ocean-13490 td:hover {
  background: #131f38;
  box-shadow: inset 0 0 0 1px #334155;
}
.fx-v9-table-inline-ocean-13490 .ed {
  position: relative;
  background: #0f172a;
  box-shadow: inset 0 0 0 1.5px #3b82f6, 0 0 0 3px rgba(59,130,246, 0.14);
  color: #f8fafc;
}
.fx-v9-table-inline-ocean-13490 .car {
  display: inline-block;
  width: 1.5px;
  height: 12px;
  margin-left: 1px;
  vertical-align: -2px;
  background: #6366f1;
  animation: fx-v9-table-inline-ocean-13490-blink 1.1s steps(2) infinite;
}
@keyframes fx-v9-table-inline-ocean-13490-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .fx-v9-table-inline-ocean-13490,
  .fx-v9-table-inline-ocean-13490::before,
  .fx-v9-table-inline-ocean-13490::after,
  .fx-v9-table-inline-ocean-13490 *,
  .fx-v9-table-inline-ocean-13490 *::before,
  .fx-v9-table-inline-ocean-13490 *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}
ocean-inline-edit-grid-13491.html
<table class="fx-v9-table-inline-ocean-13490">
  <thead>
    <tr>
      <th>SKU</th>
      <th>Stock</th>
      <th>Price</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>HL-104</td>
      <td>28</td>
      <td class="ed">$34.00<i class="car"></i></td>
    </tr>
    <tr>
      <td>HL-220</td>
      <td>7</td>
      <td>$18.50</td>
    </tr>
    <tr>
      <td>HL-318</td>
      <td>142</td>
      <td>$92.00</td>
    </tr>
  </tbody>
</table>

What do I do with this?

  1. Put ocean-inline-edit-grid-13491.css anywhere your page already loads CSS from — in Next.js that is app/globals.css, or any stylesheet with a <link> in your HTML.
  2. Then put the class on the element you want it on: <button class="fx-v9-table-inline-ocean-13490">. 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-inline-edit-grid-13491

What'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-inline-edit-grid-13491

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.

Was this useful?

Motion safety

Static estimate, read from the CSS

Reduced motion
Guarded

Ships a prefers-reduced-motion block, so the loop settles into its end state for visitors who ask for less motion.

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)
Under 3 flashes/s

Its brightest loop is about 0.9 a second. Estimated from duration, iterations and keyframes, not from rendered frames.

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 Grids

Shipping 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
Pro — $79 once

7 variations of Ocean Inline Edit Grid

Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.