A lightweight drag-and-drop library for Blazor applications with customizable dropzones, item copying, and mobile support.
blazor-dragdrop is a drag-and-drop library specifically designed for Blazor applications. It solves the problem of implementing interactive drag-and-drop interfaces in Blazor by providing reusable components like Dropzone with features such as item constraints, copying, and customizable styling.
Blazor developers building web applications that require interactive UI elements, such as task boards, dashboards, or content management systems with drag-and-drop functionality.
Developers choose blazor-dragdrop for its ease of integration, flexibility in handling complex drag-and-drop scenarios, and support for both desktop and mobile browsers through polyfills.
Easy-to-use Drag and Drop Library for Blazor
Supports custom render templates for items, allowing integration of any component or HTML, as shown in the usage examples where @context provides item data.
Offers MaxItems limit and Accepts functions to control where items can be dropped, providing precise drag-and-drop logic based on custom conditions.
Includes CopyItem attribute to duplicate items between zones instead of moving, useful for scenarios like copying tasks, with a method to define copy creation.
Works on mobile devices using the mobile-drag-drop polyfill, as detailed in the README with setup instructions for cross-platform support.
Simple setup with AddBlazorDragDrop() in Startup.cs and namespace import, making it quick to add to existing Blazor projects with minimal boilerplate.
Since version 2.2, the library does not include default CSS, requiring users to copy and customize styles from the demo, increasing initial setup effort and potential inconsistency.
Mobile support depends on the third-party mobile-drag-drop polyfill, adding an external script dependency and potential maintenance or compatibility issues.
The instant replace feature is only recommended for small lists, as per the README, limiting its use in performance-critical applications with large datasets where smooth animations are needed.
Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
Build real-time apps (Blazor included) with less than 1% of extra code responsible for real-time updates. Host 10-1000x faster APIs relying on transparent and nearly 100% consistent caching. We call it DREAM, or Distributed REActive Memoization, and it's here to turn real-time on!
Bolero brings Blazor to F# developers with an easy to use Model-View-Update architecture, HTML combinators, hot reloaded templates, type-safe endpoints, advanced routing and remoting capabilities, and more.
Samples for ASP.NET Core
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.