Skip to content
jolt.
← Recipes

LAYOUT / iOS / NATIVESCRIPT VUE

Make a little room.

Insert, reorder and expand. Everything moves together.

Native recording · iOSiOS 26 simulator · native playback with actual XCTest input, original speed. Not a physical-device performance measurement.

The motion behind it.

Jolt 0.1.0-rc.11

The core API example, taken directly from the guide. Use the full demo for the surrounding interface and controls.

TypeScript · NativeScript
import { animateLayout } from '@rafaelaugusto/jolt'

animateLayout(list, () => rows.value.splice(1, 0, newRow))
animateLayout(list, () => rows.value.reverse(), 'snappy')
animateLayout(list, () => {
  expanded.value = !expanded.value
})
View full demo ↗

Read the full guide ↗