Animations

Cells slide into place on sort, column reorder, and visibility changes. On by default — no prop required.

Disable animations

Animations are on by default. Set enabled: false when you want cells to snap instantly.

React TSX
<SimpleTable
columns={columns}
rows={rows}
animations={{ enabled: false }}
/>

Custom timing

Override the default 240 ms duration and easing to match your product motion.

React TSX
<SimpleTable
columns={columns}
rows={rows}
animations={{ duration: 320, easing: "ease-out" }}
/>

What animates

Sort, drag reorder (neighbors only), programmatic column order, and column visibility. Scroll and cell content updates do not animate. For value-change flashes, see Live Updates (cellUpdateFlash).

prefers-reduced-motion disables motion automatically.

Example

Sort or drag a column to see cells slide. Use Code or StackBlitz for the full example.

Props

Animations Configuration

PropertyRequiredDescriptionExample
Optional
FLIP-style cell motion on sort, column reorder, and visibility changes. Enabled by default; respects prefers-reduced-motion.

AnimationsConfig

AnimationsConfig

PropertyRequiredDescriptionExample
enabled
boolean
Optional
Master toggle for animations. When false, no other field has effect and cells snap to their new positions instantly. Defaults to true.
duration
number
Optional
Animation duration in milliseconds. Applies to every animated cell. Defaults to 240ms.
easing
string
Optional
CSS easing function applied to the transform transition. Accepts any valid CSS timing function (cubic-bezier, ease, linear, etc.). Defaults to cubic-bezier(0.2, 0.8, 0.2, 1).