With mode='multiple', a press or Space adds an item or takes it away, and Shift with a press or an arrow picks the items in between. With expandOnPress={false}, a press on a folder picks it, and its chevron opens it.
pnpm dlx shadcn@latest add "https://kinoui.com/r/tree-2.json"