Black Friday Sale 40% Off•Sale end soon

PaceUI

  • Components
  • Blocks
  • Templates
  • Studio
  • Resources
Intro
  • Components
  • Installation
  • MCP
Agents
  • Chat Composer
  • Workflow Board
  • Thinking States
  • Audio Visualizer
  • Task Pipeline
  • Approval Card
  • Tool Calls
    New
  • Model Ability Selector
  • Model Selector
  • Response Writer
  • AI Suggestions
  • Token Counter
UI SDK
  • Sortable List
Crafts
  • All Crafts
  • Avatar Flight
  • Voice Record
  • Starfield Card
  • Destination Queue
  • Rolling Bento
  • Download Button
  • Cart Stepper
  • Heart Burst
  • Copy Bar
  • Generative Grid
  • Destination Card
  • Magnetic Button
  • Morphing Copy
  • Expanding Search
  • Metric Tracker
  • Tilt Card
  • Animated Stack
Charts
  • Acquisition Funnel
  • Weekly Traffic
  • Customer Growth
  • Financial Performance
  • Model Usage
  • Customer Segments
  • Sales Overview
  • Channel Sales
  • Daily Orders
  • Weekly Attendance
  • Market Trends
  • Portfolio Overview
  • Resource Usage
  • SaaS Subscriptions
  • Database Performance
  • API Traffic
  • Traffic Distribution
  • Spend Allocation
Motion
  • Accordion
  • Alert
  • Calendar
  • Checkbox
  • Collapsible
  • Combobox
  • Context Menu
  • Dropdown Menu
  • Empty
  • Hover Card
  • Input OTP
  • Menubar
  • Navigation Menu
  • Pagination
  • Progress
  • Radio Group
  • Rating
    New
  • Scroll Area
  • Select
  • Sidebar
  • Slider
  • Switch
  • Tabs
  • Tooltip
  • Reveal Text
  • Scramble Text
  • Squash Text
  • Bouncing Text
  • Mouse Wave Text
  • Text Fall Button
  • Spring Button
  • Infinite Scroller
  • Fillable Button
  • Layered Stack
  • Gradient Shadow
  • Profile Peek
  • Flip Reveal
  • Reveal on Scroll
  • Swap
  1. Components
  2. UI SDK
HomeNext

Sortable List

Drag and keyboard-driven reorderable list built with @ui-sdk/core primitives, roving focus, multi-selection, focus recovery, and live AI snapshot view.

Core Behaviors

  • createReorder: Provides pointer dragging and accessible keyboard reordering (Enter pickup/drop, arrows to navigate/reposition, Escape/Tab cancellation).
  • createSelection: Multi-item selection via Space key or checkbox allowing multiple items to be picked up and moved together.
  • createFocusRecovery: Automatically restores focus to the closest neighbor when an item moves or leaves.
  • Live AI View: Shows the live component state as seen by an AI agent through agent.snapshot().

API Reference

SortableList

PropTypeDefaultDescription
valuestring[]—Controlled order of item keys.
defaultValuestring[][]Initial uncontrolled order of item keys.
onValueChange(value: string[], details: ChangeDetails) => void—Callback fired when items are reordered.
selectedstring[]—Controlled array of selected item keys.
defaultSelectedstring[][]Initial uncontrolled array of selected item keys.
onSelectedChange(selected: string[]) => void—Callback fired when selection changes.

SortableListItem

PropTypeDefaultDescription
valuestring—Unique identifier key for the item.
childrenReactNode—Item content.
classNamestring—Additional CSS classes for the item container.

PaceUI

Animated blocks, components, and templates for Next.js and TanStack Start. Built with Motion and shadcn - clean code you own.

GitHubTwitterDiscord

Products

BlocksComponentsTemplatesCraftsTanStack ChartsMCP ServerStarter KitsStyleX Components

Resources

DocumentationMotion ComponentsGSAP AnimationsNative AIBlogChangelog

Pricing & Account

PricingManage AccountLicensesAPI KeysAffiliate Program

Company

Contact UsDiscord CommunityPrivacy PolicyTerms of Service

© 2026 PaceUI. All rights reserved. Built by indie developer, Denish

PACEUI

Pipeline Execution

Gmail
Scan customer emails and thread historyGmail · 1.2s
Done
Slack
Aggregate triage discussions in SlackSlack · 0.8s
Done
Notion
Synthesize sprint issue backlog in NotionNotion · 2.4s
Running
GitHub
Verify pull request check runs on GitHubGitHub · —
Queued
Vercel
Trigger preview deployment on VercelVercel · —
Queued
Snapshot
Initialized pipeline execution order