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.
- 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
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
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.mdThe index of every part is at /llms.txt.