Spring Reorder List
A priority list reordered by dragging the grip: the lifted row scales and deepens its shadow while siblings part on springs. Keyboard ↑ ↓ on a grip moves rows with live announcements.
Try it: Drag a grip, or focus one and press ↑ / ↓.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/spring-reorder-list.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/spring-reorder-list. You can also copy the source into components/ui/spring-reorder-list.tsx (view on GitHub).
Usage
import { SpringReorderList } from '@/components/ui/spring-reorder-list'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
items | ReorderItem[] | DEFAULT_REORDER_ITEMS | { id, title, meta, color } |
onReorder | (items) => void | — | New order. |
Dependencies
motionlucide-react
Related Motion Showcase components
- Blur Cascade Heading
A keynote-style display headline that resolves out of focus: words or letters rise through a mask from blur to sharp on springs, and highlight words land last in a gradient.
- Timeline Scrubber
A media scrubber with a waveform that lights up behind the playhead, a thumb that grows while dragging, chapter markers that snap within 1.5 s, a time bubble and full slider keyboard support.
- Perspective Tunnel Carousel
A row of 3:4 cards riding a corridor in real CSS 3D: tiny and flat on the back wall at the vanishing point, growing huge and angled along the side walls as they leave past the edges. The row drifts…
- Lit Product Card 3D
A product card with real lighting: tilt follows the pointer, a specular highlight tracks the light while the cast shadow moves opposite, the product floats on its own Z layer and swatches recolour…
- Scroll Product Reveal
An Apple-style pinned product story: scroll scrubs a CSS 3D device through rotation, screen glow and an exploded-layer view while chapter copy cross-fades with a blur. Scrolls inside its own…
- Page Curtain Transition
Route changes play a staggered column curtain: panels sweep up to cover, the next page name flashes on the curtain, then they lift away to reveal it. Reduced motion cross-fades.