Skip to Content
Kokonut UI

IN-13InputsNew, October 22, 2026

Stay Picker

A date range picker for booking stays. Every night shows its price, sold-out nights are hatched, and your stay is one pill that wraps across weeks.

Install with
lucide-react, motion

PROTaking bookings? Booking Picker is in Kokonut UI Pro

Installation

Stay Picker is a free, open-source React component in the Kokonut UI Inputs collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/stay-picker.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/stay-picker

Or add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/stay-picker.tsx.

npm install lucide-react motion

Usage

import StayPicker from "@/components/kokonutui/stay-picker";

export default function Example() {
  return <StayPicker />;
}

Props

month
stringDefault "2026-11"

First month shown, as YYYY-MM.

getNight
(date: string) => NightDefault demo data

Price and availability for one night, by date (YYYY-MM-DD).

minNights
numberDefault 2

Fewest nights one booking can be.

currency
stringDefault "$"
onReserve
(stay: { checkIn: string; checkOut: string; total: number }) => void
className
string

Extra classes for the root element.

Night

pricerequired
number
blocked
boolean

Sold out: you can't sleep here this night, but you can check out.

Dependencies

NeedsVersionComes from
lucide-react^0.556.0npm, installed by the CLI
motion^12.23.25npm, installed by the CLI
cn from lib/utils.tsshadcn init
React19Your app
Tailwind CSS4Your app

No provider, font or global CSS to set up: the file works as soon as it lands.