Pro
Lift list
A list you reorder by picking a row up. The row you hold comes off the page, rises toward you and leans a few degrees the way you move, and a dashed slot shows where it will land. Space picks up, the arrows move, Space drops, Escape puts it back.
pnpm dlx shadcn@latest add @caliper/lift-listWhen to use
Use it for
- Priorities, checklists and queues where order matters and the list is short.
- Anywhere a drag handle needs a clear picked-up state.
Skip it when
- Long lists; use the sortable list with scrolling.
- Tables, which have their own row behaviour.
Decisions
Why it is built this way, so you know what to keep when you change your copy.
Behaviour
- The slot stays visible
- Lift never hides the landing place: the dashed slot moves with the order while the lifted row follows your pointer.
- Only the grip drags
- On touch, the rest of the row still scrolls the page. The grip is 44px tall and has touch-action none.
Styling
- Lean is limited and tied to speed
- At most 7 degrees, from the drag velocity, and none under reduced motion.
Installation
pnpm dlx shadcn@latest add @caliper/lift-list
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
Usage
Import it from your copy of the source. The example behind the preview comes with the source.
import { LiftList } from "@/components/ui/lift-list"
The worked example comes with Pro
The 44-line example behind the preview opens here, ready to copy.
- 626 Pro parts, blocks and page templates, all with source
- $149 once, with lifetime updates. No renewal
- A full refund within 14 days if it is not for you
API reference
LiftList
component
Accessibility
It is built on native elements and keeps aria-label, aria-pressed, aria-hidden and aria-live in step with state. Changes that matter are announced through a live region.
Motion
It checks prefers-reduced-motion itself and settles immediately instead of travelling. Every state is still reachable.
Related
- Sortable listA list reordered by dragging or with keyboard commands, with undo.
- Animated listA list whose rows come and go gracefully: new rows open into place, removed rows close their gap and the rest glide to their new positions.
- Pinned listItems you can pin to the top. Pinning moves the row up into Pinned and back again, so the eye follows it, and focus stays on the same pin button.