Lanseringsvecka50 % rabatt på ett år AuteurSe planer
SpacesSkaffa Pro
Alla komponenter

Reorder list Gratis

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

Öppna i editorn

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.

Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

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

Inte till

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

Props

Lästa direkt ur komponentens egen TypeScript, så de är alltid aktuella.

PropTypStandard
itemsKrävsReorderItem[]
handlebooleantrue
onChange(items: ReorderItem[]) => void

Bättre med en skill

Ge din agent en, så använder den Reorder list som det är tänkt.

Motion with weightGratis

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

$npx velvo skill velvo-motion
Läs skillen
Empty, loading and error statesPro

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

Ingår i ProLäs skillen

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
NästaBoard