Component packs › Tabula › Inline Edit

Inline Edit

Click a cell and it lifts into a field; bad input shakes and says why, Enter saves with a warm flash, and the last change can be undone.

Inline Edit is an editable cells from Tabula, a component pack with 8 components: Data table components where rows move to their new places. Price: $2 for the whole pack.

Built with: validators, spreadsheet keys, undo.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Inline Edit props

PropTypeDefaultDescription
rowsTabulaRow[]
onSave(rowId: string, key: string, value: string) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: edits cells, one invalid, until touched.

Methods on the ref

Use it in React

import InlineEdit from './InlineEdit';

<InlineEdit />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Tabula

Good for: Data tables.