Multi-select state for rows or items with toggle, shift-click range selection, select all, and the all, some and none states a header checkbox needs.
pnpm dlx shadcn@latest add "https://ui.tealmac.com/r/use-selection.json"