Неделя запускаСкидка 50% на год AuteurТарифы
Все компоненты

Reorder list Бесплатно

Pick a row up and the others step aside as you pass them.

Открыть в редакторе

Up next

  • Golden HourLate Summer Radio
  • Night SwimHarbour Lights
  • Paper PlanesThe Weekend Club
  • Slow MotionMira Vale
  • After RainNorthern Room

Drag a song up or down. With a mouse, grab it anywhere.

Характер
Игривый
Зарегистрируйтесь бесплатно, чтобы скачать

Подходит для

  • Queues, priorities and favourites: any list where order matters.

Не подходит для

  • Lists sorted by date or name. Dragging would fight the sort.

Пропсы

Прочитаны прямо из TypeScript компонента, поэтому всегда актуальны.

ПропсТипПо умолчанию
itemsОбязательныйReorderItem[]
handlebooleantrue
onChange(items: ReorderItem[]) => void

Лучше с навыком

Добавьте навык агенту, и он будет использовать Reorder list так, как задумано.

Motion with weightБесплатно

Keeps its springs and press feel intact when your agent wires it into your app.

$npx velvo skill velvo-motion
Открыть навык
Empty, loading and error statesPro

Designs its empty, loading and error moments, the ones that usually get forgotten.

Входит в ProОткрыть навык

Specs

Category
Drag and drop
Tier
Free
Built with
React and TypeScript
Files
17
Size
378 KB
Needs
framer-motion
Install
npx velvo add reorder-list
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo free licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

drag and dropfreereact
ДальшеBoard