Tree with multiSelect enabled for choosing several nodes with Ctrl or Cmd.
npx shadcn@latest add @shadcnblocks/tree-tree-multi-1
Sign in or get a license at Shadcn Blocks to see its source and install it.