- Components24
- Autocomplete
- Location Input
- Signature Input
- Signature Pad
- Credit Card
- Masked Input
- Color Picker
- Tag / Token Input
- Emoji Picker
- Transfer List
- Tree Select
- Image Upload / Dropzone
- Cron Expression Builder
- Inline Editable Field
- Sortable List Input
- Schedule / Availability Picker
- Phone Input
- Datetime Picker
- Smart Datetime Input
- File Upload
- Tags Input
- Multi Select
- Password Input
- Rating
Sortable List Input
Drag-and-drop reorderable list stored as a form value.
Sortable List Input
Drag-and-drop reorderable list stored as a form value.
Preview
Backlog
In Progress
Done
Features
- Add/remove rows.
- Native drag-and-drop reorder.
- Controlled array API.
Installation
npx shadcn@latest add https://www.shadcn-form.com/r/sortable-list-input.json
The CLI installs every dependency listed in the registry item.
Usage
import { SortableListInput } from '@/components/ui/sortable-list-input'<SortableListInput value={items} onChange={setItems} />