Batch Gesture Tray

A touch-ready contextual tray that slides into view upon item selection, presenting bulk actions and real-time count telemetry.

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/batch-gesture-tray

API Reference

PropTypeDefaultDescription
itemsBatchItem[]Array of selectable list items (id, title, subtitle)
actionsBatchAction[]Array of batch action buttons (id, label, icon, action, color)
selectedIdsstring[]undefinedControlled array of selected item IDs
onSelectionChange(ids: string[]) => voidundefinedSelection state callback
onActionComplete(actionId: string) => voidundefinedCallback fired on action finish