Our great sponsors
-
sortablejs
Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
You also mentioned that the positions should be stored in localStorage. I would store the positions in Pinia, and then add the pinia-plugin-persistedstate plug-in. It's one import statement and one line of code to add that plugin, and then your Pinia state is automatically persisted in localStorage. It beats having to write and troubleshoot the storage logic yourself.
Related posts
- Multi-column drag and drop with SortableJS and Stimulus
- Suggestions for a library that can resize/move panels on a grid-like basis? Like the AWS dashboard widgets.
- SortableJS: Library for reorderable drag-and-drop lists
- react sortable-js, two types of items and nested items
- How to use Nodemailer with Cypress 10?