All-Access · 22 templates$1270.97$99/year — save 92%Get access
  • HomeHome
  • TemplatesTemplates23
  • ComponentsComponents78
  • PricingPricing
  • Need a Website?Need a Website?New
Unlock All AccessUnlock All Access

Our latest template collection

Ready-to-launch sites for real estate agents, service businesses, and local brands — built to rank, load fast, and convert.

Explore All TemplatesExplore All Templates

Orvaine - Luxury Equestrian & Horse Breeding Website Template

Orvaine is a premium website template for stud farms, sport horse breeders and equestrian estates: horse pages with pedigrees, events, films. Next.js, Astro, Sanity.

Download Template
Orvaine - Luxury Equestrian & Horse Breeding Website Template

Maressa - Luxury Yacht Charter & Sales Website Template

Maressa is a premium website template for yacht charter, brokerage and superyacht brands: 21 editable sections, full-screen films, Next.js and Astro versions. Sanity.

Download Template
Maressa - Luxury Yacht Charter & Sales Website Template

Krishi – Agriculture & Farm Website Template

Krishi is a premium website template for farms, agritech and food brands: 17 editable sections, cinematic GSAP motion and both Next.js and Astro versions. Built with Sanity.

Download Template
Krishi – Agriculture & Farm Website Template
ComponentsHero

Hotel Booking Hero

View code
Full screen

A full-screen hotel hero with a serif headline, button and a check-in, check-out and guests booking bar. React and Tailwind CSS.

HotelBookingHero.tsx
"use client";

// Hotel hero: full-screen photo, serif headline and button, plus a booking bar
// (check-in, check-out, guests) pinned to the bottom.
// Pure Tailwind + React, no dependencies. Works with Tailwind v3 and v4.

import { useState } from "react";

type Props = {
  heading?: string;
  cta?: { label: string; href: string };
  image?: string;
  imageAlt?: string;
  onSearch?: (search: { checkIn: string; checkOut: string; guests: number }) => void;
};

const field = "flex flex-col gap-1 border-white/25 px-5 py-3 text-left md:border-r";
const label = "text-[11px] font-semibold uppercase tracking-[0.14em] text-white/70";
const input = "bg-transparent text-base text-white outline-none [color-scheme:dark]";

export default function HotelBookingHero({
  heading = "A quiet retreat\nbetween sea and hills",
  cta = { label: "Explore the rooms", href: "#" },
  image = "https://images.unsplash.com/photo-1571896349842-33c89424de2d?w=2400&q=80&auto=format&fit=crop",
  imageAlt = "Hotel pool and terrace at dusk",
  onSearch,
}: Props) {
  const [checkIn, setCheckIn] = useState("");
  const [checkOut, setCheckOut] = useState("");
  const [guests, setGuests] = useState(2);

  return (
    <section className="relative flex min-h-[640px] flex-col overflow-hidden bg-black font-sans antialiased md:h-screen md:max-h-[900px]">
      <img src={image} alt={imageAlt} className="absolute inset-0 h-full w-full object-cover" />
      <div className="absolute inset-0 bg-gradient-to-b from-black/45 via-black/15 to-black/50" />

      <div className="relative mx-auto flex w-full max-w-7xl flex-1 flex-col justify-center px-5 pb-12 pt-28 md:px-10">
        <h1 className="max-w-3xl whitespace-pre-line font-['Cardo',Georgia,'Times_New_Roman',serif] text-5xl leading-tight text-white md:text-7xl">{heading}</h1>
        <a href={cta.href} className="mt-8 self-start rounded-full bg-white px-7 py-3.5 text-sm font-semibold text-black transition-colors hover:bg-[#f4e9e2] md:mt-10">
          {cta.label}
        </a>
      </div>

      <div className="relative mx-auto w-full max-w-7xl px-5 pb-8 md:px-10 md:pb-12">
        <form
          onSubmit={(e) => {
            e.preventDefault();
            onSearch?.({ checkIn, checkOut, guests });
          }}
          className="grid grid-cols-1 overflow-hidden rounded-2xl border border-white/25 bg-black/35 backdrop-blur-md md:grid-cols-[1fr_1fr_1fr_auto]"
        >
          <label className={field}>
            <span className={label}>Check in</span>
            <input type="date" value={checkIn} onChange={(e) => setCheckIn(e.target.value)} className={input} />
          </label>
          <label className={field}>
            <span className={label}>Check out</span>
            <input type="date" value={checkOut} min={checkIn || undefined} onChange={(e) => setCheckOut(e.target.value)} className={input} />
          </label>
          <label className={field}>
            <span className={label}>Guests</span>
            <select value={guests} onChange={(e) => setGuests(Number(e.target.value))} className={`${input} [&>option]:text-black`}>
              {[1, 2, 3, 4, 5, 6].map((n) => (
                <option key={n} value={n}>
                  {n} {n === 1 ? "guest" : "guests"}
                </option>
              ))}
            </select>
          </label>
          <button type="submit" className="m-2 rounded-xl bg-[#56694a] px-8 py-4 text-sm font-semibold text-white transition-colors hover:bg-[#435339]">
            Check availability
          </button>
        </form>
      </div>
    </section>
  );
}

How to use it

  1. Make sure your Next.js or React project has Tailwind CSS set up (v3 or v4 both work).
  2. Create components/HotelBookingHero.tsx and paste the code.
  3. Import it into a page and replace the sample text and images with your own.
Sentinel - Luxury Hotel & Resort Template (Next.js + Sanity)

From the full template

Sentinel$59

Every page, Sanity CMS and SEO already set up. This section is one of 5 you can try free.

Get the full template Get the full template Live preview Live preview
Share
Category
Hero Sections
Template
Sentinel
Dependencies
None, just React
Works with
Next.js, React, Tailwind CSS v3 & v4
Added
Oct 29, 2026

More from Sentinel

See the full template
Gallery with Lightbox
Gallery

Gallery with Lightbox

Highlights Carousel
Carousel

Highlights Carousel

Hotel Room Cards
Feature

Hotel Room Cards

Reviews Masonry Grid
Testimonial

Reviews Masonry Grid

More hero sections

View all
Agency Split Hero
Hero

Agency Split Hero

Fullscreen Image Hero
Hero

Fullscreen Image Hero

Hero Agency
Hero

Hero Agency

Ready for a faster site that's easier to edit?

Book a free 30-minute call. We'll review your current site and send a fixed-price plan. No pressure, no pitch.

Book Free Call Book Free Call No commitment required

Fast Next.js + Sanity websites, built for you or ready to launch with our templates.

Book a Free Call Book a Free Call
Services
  • Web Design
  • UI/UX Design
  • Framer Dev
  • Webflow Dev
  • Custom Dev
  • Sanity CMS
Resources
  • Templates
  • Pricing
  • License
  • Components
  • Case Studies
Company
  • About Us
  • Contact
  • Privacy Policy
© 2026 rayso.studio — All rights reservedDesigned & built in-house Remote-first agency
Let's TalkLet's Talk