Shadcn Date Range Picker: 4 variants
A date range picker for hotel or flight booking, in four layouts: one or two months, each with or without a price under every day.
Pick one, then install only that one. Each card opens at full size with a phone, tablet and desktop width. The previews below are live.
1.Single month
One month at a time for choosing a start and end date.
Best for: a compact picker in a narrow space or on mobile
Avoid if: people often pick ranges that span two months
Install: npx shadcn@latest add https://avaraui.com/r/date-range-picker.json (a shared item; the docs section shows this look)
2.Single month with prices
One month with a price shown for each day.
Best for: a compact booking widget where the nightly or daily rate matters
Avoid if: you have no per-day price to show
Install: npx shadcn@latest add https://avaraui.com/r/date-range-picker.json (a shared item; the docs section shows this look)
3.Dual month
Two months side by side, so a range across a month boundary is visible at once.
Best for: a desktop booking flow where ranges often span two months
Avoid if: the space is narrow
Install: npx shadcn@latest add https://avaraui.com/r/date-range-picker.json (a shared item; the docs section shows this look)
4.Dual month with prices
Two months side by side with a price on each day.
Best for: a hotel or flight search where comparing prices across two months helps
Avoid if: you have no per-day price to show, or the space is narrow
Install: npx shadcn@latest add https://avaraui.com/r/date-range-picker.json (a shared item; the docs section shows this look)