Skip to content
caliper ui pro docs

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.

Pro
  • Write release notesMira
  • Review pricing copyPriya
  • Fix 320px overflow on the indexDev
  • Record motion clipsSam
  • Publish changelogMira

Drag the grip, or focus it and press Space, then use the arrow keys.

When to use

  • Priorities, checklists and queues where order matters and the list is short.
  • Anywhere a drag handle needs a clear picked-up state.

When not to use

  • Long lists; use the sortable list with scrolling.
  • Tables, which have their own row behaviour.

Installation

terminal
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.

API reference

LiftList

10 props
PropTypeDefault
label *string—
items *readonly LiftItem[]—
onReorder *(ids: string[]) => void—
rowHeightnumber52
gapnumber6
statusDepthStatus"ready"
messagesDepthMessages—
onRetry(() => void)—
disabledboolean—
classNamestring—

Keyboard

Space
Activates the focused control.
Enter
Activates the focused control.
↑
Moves to the previous item or value.
↓
Moves to the next item or value.
Escape
Closes or cancels, then returns focus to where it came from.

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.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/lift-list.md

The index of every part is at /llms.txt.

More in Surfaces