A framework-agnostic tool that converts any layout into a drag-to-swap one with just a few lines of code.
Swapy is a powerful, framework-agnostic tool that transforms any layout into a drag-to-swap interface with minimal code. It offers seamless integration across all frameworks, including React, Vue, and Svelte.
import { createSwapy } from 'swapy'
const container = document.querySelector('.container')
const swapy = createSwapy(container, {
animation: 'dynamic'
})
swapy.onSwap((event) => {
console.log(event.data.object)
console.log(event.data.array)
console.log(event.data.map)
})
Swapy provides examples for integration with popular frameworks:
If you find Swapy useful, consider giving it a star on GitHub.
تطابق مع متخصصين ذوي التفكير المماثل لمحادثات فردية
انتقل من فوضى Slack إلى الوضوح في دقائق
خصّص آلاف صفحات الهبوط في أقل من 30 دقيقة
أول نموذج لغوي كبير لمعالجة المستندات بدقة وسرعة
مساعدو الذكاء الاصطناعي لمتخصصي SaaS
تطبيق مكالمات الهاتف المدعوم بالذكاء الاصطناعي مع الترجمة المباشرة
عروض تفاعلية ممتعة مدعومة بالذكاء الاصطناعي—الآن بدون تسجيل الدخول
مساعد الرسوم المتحركة بالذكاء الاصطناعي
أطلق الكونفيتي للتخلص من التوتر والقلق ، 100٪ خالٍ من الذكاء الاصطناعي
مدفوعات سلسة لـ SaaS