With mode="range" the box holds two dates, and months={2} shows two months side by side, one on a phone. The calendar stays open until both ends are picked, and the value is [start, end], null until then.
pnpm dlx shadcn@latest add "https://kinoui.com/r/date-picker-2.json"