Bit.Bortable
10.7.0
See the version list below for details.
dotnet add package Bit.Bortable --version 10.7.0
NuGet\Install-Package Bit.Bortable -Version 10.7.0
<PackageReference Include="Bit.Bortable" Version="10.7.0" />
<PackageVersion Include="Bit.Bortable" Version="10.7.0" />
<PackageReference Include="Bit.Bortable" />
paket add Bit.Bortable --version 10.7.0
#r "nuget: Bit.Bortable, 10.7.0"
#:package Bit.Bortable@10.7.0
#addin nuget:?package=Bit.Bortable&version=10.7.0
#tool nuget:?package=Bit.Bortable&version=10.7.0
Bit.Bortable
A Blazor-native drag-and-drop sortable list, inspired by SortableJS: reorder the items of a list, or drag them between lists that share a group. The sorting engine is written in C# and runs on the browser's own HTML5 drag events; a small JavaScript module only measures the pointer against the items, installs drag handles and plays the slide animations - there is no JavaScript sortable library underneath.
Quick start
dotnet add package Bit.Bortable
// Program.cs (both projects of a Blazor Web App)
builder.Services.AddBitBortableServices();
@* _Imports.razor *@
@using Bit.Bortable
Link the stylesheet from your host page (App.razor or index.html); it is not injected for you. The script
module, _content/Bit.Bortable/bit-bortable.js, is imported by the component on demand.
<link rel="stylesheet" href="_content/Bit.Bortable/bit-bortable.css" />
<Bortable @bind-Items="_todo" TItem="string" Group="board">
<ItemTemplate Context="item">@item</ItemTemplate>
</Bortable>
<Bortable @bind-Items="_done" TItem="string" Group="board" OnAdd='e => Console.WriteLine($"done: {e.Item}")'>
<ItemTemplate Context="item">@item</ItemTemplate>
</Bortable>
@code {
// Changed in place, and ItemsChanged is raised once per drag for each list that changed.
private IList<string> _todo = new List<string> { "Write the spec", "Review the PR" };
private IList<string> _done = new List<string> { "Set up CI" };
}
Features
- Live reordering while dragging, with FLIP slide animations.
- Lists that share a
Groupexchange items, with a placeholder previewing where the item will land. Move,CloneandNonepull modes, and per-listPut,SortandDisabled.- The SortableJS swap thresholds:
SwapThreshold,InvertSwap,InvertedSwapThresholdandDirection. - Swap mode (the Swap plugin) and multi-drag (the MultiDrag plugin).
- Drag handles, filters for locked items, and per-item classes that follow an item between lists.
- Vertical lists, horizontal strips, grids and nested lists.
@bind-Itemsand the SortableJS lifecycle events:OnStart,OnEnd,OnAdd,OnRemove,OnUpdate,OnSortandOnChange.- Theming of the drag states through
--bit-bortable-*CSS custom properties. - Blazor WebAssembly, Server, Web App (including prerendering) and Hybrid on .NET 8, 9 and 10.
For AI agents
The demo site hosts an MCP server at https://bortable.bitplatform.dev/mcp
that answers from the shipped library: its API, its guide, its stylesheet and the
demo's working pages, and it can run a drag over lists you describe and report what it did.
Documentation
The full guide - sorting, shared lists and cloning, nested lists, handles and filters, swap mode, multi-drag, events, styling, hosting models, how it works and a SortableJS mapping - is in the Bortable README. See it running at bortable.bitplatform.dev.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.0 && < 11.0.0)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0 && < 9.0.0)
-
net9.0
- Microsoft.AspNetCore.Components.Web (>= 9.0.0 && < 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-pre-23 | 88 | 11/19/2026 |
| 11.0.0-pre-22 | 144 | 11/18/2026 |
| 11.0.0-pre-21 | 170 | 11/17/2026 |
| 11.0.0-pre-20 | 518 | 11/15/2026 |
| 11.0.0-pre-19 | 357 | 11/13/2026 |
| 11.0.0-pre-18 | 386 | 11/11/2026 |
| 11.0.0-pre-17 | 730 | 11/4/2026 |
| 11.0.0-pre-16 | 347 | 11/2/2026 |
| 11.0.0-pre-15 | 294 | 10/27/2026 |
| 11.0.0-pre-14 | 68 | 10/26/2026 |
| 11.0.0-pre-13 | 63 | 10/26/2026 |
| 11.0.0-pre-12 | 63 | 10/26/2026 |
| 11.0.0-pre-11 | 67 | 10/25/2026 |
| 11.0.0-pre-10 | 71 | 10/20/2026 |
| 10.7.0 | 140 | 10/25/2026 |
| 10.7.0-pre-04 | 94 | 10/25/2026 |
| 10.7.0-pre-03 | 94 | 10/22/2026 |
| 10.7.0-pre-02 | 94 | 10/22/2026 |