Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Reorder list Gratuit

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

Ouvrir dans l’éditeur

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.

Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

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

Pas pour

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

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
itemsObligatoireReorderItem[]
handlebooleantrue
onChange(items: ReorderItem[]) => void

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Reorder list comme prévu.

Motion with weightGratuit

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

$npx velvo skill velvo-motion
Lire la skill
Empty, loading and error statesPro

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

Incluse dans ProLire la skill

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
SuivantBoard