Rooms and stays
Rooms with amenities and price per night, an availability calendar, a booking bar, location and reviews.
Switch category
Marketing
- Hero17
- Features15
- Logo clouds8
- Stats8
- Pricing11
- Testimonials11
- Call to action11
- FAQ7
- Newsletter12
- Banners9
- Popups and consent7
- Services7
- Use cases6
- Security and trust7
- Changelog and roadmap6
- Launch and waitlist6
- Product tour6
- Press and awards10
- AI features6
- App download5
- Donations and support4
- Problem and solution5
- Objections5
- Calculators10
- Quiz and product finder5
- Free trial5
- Referral and partners10
- Community5
- Open source5
- Manifesto5
- Offer5
- Lead magnet4
- Scroll stories20
- Scroll journeys13
- Scroll effects13
- Scroll reveals and transitions15
Content
- Blog16
- Gallery7
- Team8
- About11
- Content8
- Process7
- Contact8
- Comparison5
- Integrations5
- Error pages5
- Careers7
- Case studies6
- Portfolio6
- Events and webinars6
- Help center6
- Legal pages5
- Documentation4
- Search results5
- Resources and downloads4
- Podcast4
- Editorial15
- Authors and interviews10
- Glossary5
- Recipes5
- Data stories10
- Long reads5
- Surveys and feedback14
- Form states12
- Request forms16
- Applications and sign-ups13
- Address, payment and consent12
App
- Authentication9
- Dashboards6
- Tables6
- Settings5
- AI and chat16
- Calendar5
- Inbox and messages5
- Notifications6
- Files6
- Projects6
- Profiles6
- Onboarding6
- Billing and usage10
- Developer settings15
- Security and access10
- Import, export and history15
- Automation and builders14
- AI answers18
- AI writing and creation13
- AI setup14
- AI assistants9
E-Commerce
Industries
- Menus7
- Appointments6
- Listings6
- Courses6
- Rooms and stays5
- Classes and schedules6
- Medical practice5
- Law firm5
- Salon and spa5
- Automotive5
- Travel5
- Sports club5
- Coworking5
- Museum5
- Cinema5
- School5
- Trades5
- Insurance5
- Banking5
- Personal brand15
- Speakers and media kits10
- Creators15
- Coaching and consulting10
- Artists and musicians15
- Dental practice5
- Veterinary practice5
- Therapy practice5
- Weddings and events5
- Architecture studio5
- Tax advisor5
- Estate agent5
- Florist5
- Winery5
- Daycare5
- Driving school5
- Care services5
- Festival5
Elements
- Buttons20
- Forms and inputs22
- Pickers and selections21
- Special input fields20
- Cards10
- Overlays21
- Navigation elements15
- Menu bars and switchers14
- Data display15
- Progress and states13
- Lists, trees and timelines17
- Charts22
- Comparison charts22
- Statistical charts20
- KPI, live and map charts22
- Text effects15
- Text accents16
- Backgrounds19
- Beams, particles and motion18
- Media19
- Code and JSON8
- Panels and splitters4
Details
What Rooms and stays brings along, read from the registry and the source.
- Area
- Industries
- Variants
- 5
- Version
- 1.0.1 · since 1.0.0
- File
- components/ui/rooms.tsx
- npm packages
- None
- Languages
- English and German, 63 texts of its own
- Studio
- Adjust in code
- Build with AI
- Over MCP in Claude, Cursor, Copilot and Codex
Props
The RoomsProps interface from components/ui/rooms.tsx, with the comments from the code.
variantoptionalRoomsVariantroom-cardsavailabilitybooking-barlocationreviews
eyebrowoptionalReact.ReactNodetitleoptionalReact.ReactNodedescriptionoptionalReact.ReactNoderoomsoptionalRoom[]pricesoptionalRecord<string, number | null>availability: nightly prices by ISO date, null when booked. Days without an entry are not bookable.
monthoptionalstringavailability: first month shown, ISO like 2026-11-01
minNightsoptionalnumbermediaoptionalReact.ReactNodebooking-bar, location: picture or map
arrivaloptionalstringbooking-bar: default dates
departureoptionalstringmaxGuestsoptionalnumberaddressoptionalstring[]location
arrivalNotesoptional{ icon: IconName; title: string; text: string }[]placesoptional{ title: string; icon: IconName; items: RoomPlace[] }[]scoreoptionalnumberreviews
countoptionalnumbercategoriesoptional{ label: string; value: number }[]reviewsoptionalRoomReview[]currencyoptionalstringonReserveoptional(r: { room?: string; arrival?: string; departure?: string; adults?: number; children?: number }) => void
Built-in texts
Rooms and stays writes these texts itself. The language follows the KitProvider, the labels prop replaces single ones.
Show all 63 texts
| Key | English | German |
|---|---|---|
| perNight | English / night | German / Nacht |
| guestsN | English Up to {n} guests | German Bis {n} Gäste |
| sqm | English {n} m² | German {n} m² |
| leftN | English Only {n} left | German Nur noch {n} frei |
| choose | English Choose room | German Zimmer wählen |
| chosen | English Chosen | German Gewählt |
| amenities | English Amenities | German Ausstattung |
| more | English +{n} more | German +{n} weitere |
| wifi | English Wi-Fi | German WLAN |
| breakfast | English Breakfast | German Frühstück |
| parking | English Parking | German Parkplatz |
| balcony | English Balcony | German Balkon |
| bath | English Bathtub | German Badewanne |
| kitchen | English Kitchenette | German Kochnische |
| pets | English Pets welcome | German Hunde willkommen |
| sauna | English Sauna | German Sauna |
| aircon | English Air conditioning | German Klimaanlage |
| workspace | English Desk | German Schreibtisch |
| coffee | English Coffee machine | German Kaffeemaschine |
| view | English View | German Aussicht |
| prevMonth | English Previous month | German Vorheriger Monat |
| nextMonth | English Next month | German Nächster Monat |
| arrival | English Arrival | German Anreise |
| departure | English Departure | German Abreise |
| pickArrival | English Pick your arrival | German Wähle deine Anreise |
| pickDeparture | English Now pick your departure | German Jetzt die Abreise wählen |
| nightsN | English {n} nights | German {n} Nächte |
| night | English 1 night | German 1 Nacht |
| booked | English Booked | German Belegt |
| minNights | English At least {n} nights | German Mindestens {n} Nächte |
| total | English Total | German Gesamt |
| reserve | English Reserve | German Reservieren |
| clear | English Clear dates | German Daten löschen |
| guests | English Guests | German Gäste |
| adults | English Adults | German Erwachsene |
| adultsHint | English From 13 years | German Ab 13 Jahren |
| children | English Children | German Kinder |
| childrenHint | English Up to 12 years | German Bis 12 Jahre |
| adultsN | English {n} adults | German {n} Erwachsene |
| adult | English 1 adult | German 1 Erwachsener |
| childrenN | English {n} children | German {n} Kinder |
| child | English 1 child | German 1 Kind |
| fewer | English Fewer | German Weniger |
| more2 | English More | German Mehr |
| check | English Check availability | German Verfügbarkeit prüfen |
| result | English {nights} for {guests}, rooms are free. We show you the prices next. | German {nights} für {guests}, es sind Zimmer frei. Als Nächstes zeigen wir dir die Preise. |
| datesError | English Departure must be after arrival. | German Die Abreise muss nach der Anreise liegen. |
| getThere | English Getting here | German Anreise |
| nearby | English Nearby | German In der Nähe |
| walk | English on foot | German zu Fuß |
| bike | English by bike | German mit dem Rad |
| car | English by car | German mit dem Auto |
| train | English by train | German mit der Bahn |
| directions | English Directions | German Route planen |
| outOf | English out of 10 | German von 10 |
| reviewsN | English {n} reviews | German {n} Bewertungen |
| stayed | English Stayed in {date} | German Aufenthalt im {date} |
| reply | English Reply from the house | German Antwort des Hauses |
| exceptional | English Exceptional | German Herausragend |
| excellent | English Excellent | German Hervorragend |
| veryGood | English Very good | German Sehr gut |
| good | English Good | German Gut |
| showAll | English Show all reviews | German Alle Bewertungen zeigen |
Accessibility
Read from the source of the component.
- Rooms and stays handles the keys Escape itself.
- Sets aria-controls, aria-current, aria-expanded, aria-invalid, aria-label, aria-live and aria-pressed, so screen readers announce purpose and state.
- Uses the roles grid, group and status.
- Announces changes through a live region without moving focus.
- Every field has a label, visible or for screen readers.
- Adds text for screen readers where icons and graphics stand alone.
- Shows a visible focus ring when used with the keyboard.
- The server renders the starting state in full, JavaScript only adds the interaction.
Motion
- Rises in briefly the first time it comes into view (kit-rise, useInView).
- Brings animations of its own, calmly timed and without wobble.
- With reduced motion (prefers-reduced-motion) it stays still. 4 places in the code switch motion off then.
Frequent questions
How do I install Rooms and stays?
With aiw add @ai-website/rooms. The command puts components/ui/rooms.tsx into your project, the code is yours from then on. It brings along button, icon, section and reveal. It needs no further npm packages.
Which variants does Rooms and stays have?
5 variants, Room cards, Availability calendar, Booking bar, Location and surroundings and Guest reviews. You pick one with the variant prop, for example variant="availability".
Can I translate the texts of Rooms and stays?
Yes. Rooms and stays carries 63 texts of its own in English and German, such as “/ night”, “Choose room” and “Chosen”. The language follows the KitProvider, single texts change through the labels prop.
Can an AI assistant build with Rooms and stays?
Yes. Through the MCP server of the aiw CLI, Claude, Cursor, GitHub Copilot, Windsurf, Codex and Gemini find Rooms and stays with aiw_components and install it with aiw_add @ai-website/rooms. Name the variant in your prompt, for example variant="room-cards", and the assistant writes your content straight into the props.
Similar components, Often combined with
Similar components
More from Industries, the same area of the kit.
- CoursesCurricula, lessons and learning progress.
- Classes and schedulesClass schedules for gyms, yoga and sports clubs.
- ListingsProperties, cars and rentals with filters and details.
- Medical practiceServices, doctors, consultation hours, insurance and online booking for practices.
- All of IndustriesReady sections for practices, restaurants, trades, hotels, schools, clubs and creators.
Often combined with
Sections that usually sit next to Rooms and stays on a page.
Loading the source