bit Bheadless

Sortable

Pointer and keyboard reordering, styled with Tailwind's *:, data-dragging: and aria-pressed: variants.

Implementation: CSS Tailwind

Reorderable task list

@bind-Items with ItemKey and ItemLabel. Drag a grip, or focus it and press Space / Enter to pick up, ↑ / ↓ to move, Space / Enter to drop and Escape to cancel — every step is announced. The <li> items are rendered by the sortable, so they're styled from the list with *:.

  • Write release notes Docs
  • Fix flaky login test Bug
  • Review pull requests Team
  • Update dependencies Chore

Bound order (ids): 1 · 2 · 3 · 4

OnReorder event log

OnReorder fires once per committed move with the item, old index and new index — use it to persist the order. Cancelled moves don't fire it.

  • Login page
  • Password reset
  • Audit log
  • Dark mode
  • CSV export
  1. No moves yet — reorder an item.

Horizontal orientation

Orientation="BitBhOrientation.Horizontal": siblings shift sideways and ← / → move a picked-up item. The whole chip is the handle.

Ranking: Speed › Quality › Cost › Scope

Custom announcements

A BitBhSortableAnnouncements rewords (or localizes) the handle instructions and the picked-up / moved / dropped / cancelled messages. The template's Index is the live position.

  • 1 Blue in Green
  • 2 So What
  • 3 Naima
  • 4 Take Five

Disabled

Disabled="true" blocks reordering; style the root and items with data-disabled: and the handles with aria-disabled:. The lock is a BitBhToggle.

  • Create account
  • Verify email
  • Invite teammates
  • Connect a repository
An unhandled error has occurred. Reload 🗙