1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. velobits
  3. UseRowSelection

UseRowSelection

hook

Row selection for DataTable. The selection is DERIVED , the stored set intersected with the rows on screen , so a bulk action can never point at a row the filter has hidden. Returns a stable object identity, which is what keeps DataTable’s memoised rows from re-rendering per keystroke.

pnpm dlx shadcn@latest add "https://ui.velobits.dev/r/use-row-selection.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
@ui/velobits/use-row-selection.ts