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
ComponentsFeature

Hotel Room Cards

View code
Full screen

Edge-to-edge hotel room tiles with name, location, nightly price and guests, beds and size over a dark gradient. React and Tailwind CSS.

HotelRoomCards.tsx
// Hotel room cards: edge-to-edge photo tiles with name, location, nightly
// price and specs over a dark gradient; photos zoom gently on hover.
// Pure Tailwind, no dependencies. Works with Tailwind v3 and v4.

type Room = {
  name: string;
  location: string;
  price: string;
  guests: number;
  beds: number;
  size: string;
  image: string;
  href?: string;
};

type Props = {
  heading?: string;
  rooms?: Room[];
};

const img = (id: string) => `https://images.unsplash.com/photo-${id}?w=1200&q=80&auto=format&fit=crop`;

const DEFAULT_ROOMS: Room[] = [
  { name: "Garden Suite", location: "Ground floor · Garden view", price: "$420", guests: 2, beds: 1, size: "48 m²", image: img("1582719478250-c89cae4dc85b") },
  { name: "Sea View Room", location: "Upper floor · Sea view", price: "$360", guests: 2, beds: 1, size: "36 m²", image: img("1493809842364-78817add7ffb") },
  { name: "Family Loft", location: "Top floor · Terrace", price: "$540", guests: 4, beds: 2, size: "64 m²", image: img("1505691938895-1758d7feb511") },
];

export default function RoomCards({ heading = "Rooms & suites", rooms = DEFAULT_ROOMS }: Props) {
  return (
    <section className="bg-white py-24 font-sans antialiased">
      {heading && <h2 className="mx-auto mb-12 max-w-7xl px-5 text-center font-['Cardo',Georgia,'Times_New_Roman',serif] text-4xl text-black md:text-6xl">{heading}</h2>}

      <ul className="grid gap-1.5 px-2.5 sm:grid-cols-2 lg:grid-cols-3">
        {rooms.map((room) => (
          <li key={room.name}>
            <a href={room.href ?? "#"} className="group relative block aspect-[13/10] overflow-hidden bg-black text-white">
              <img src={room.image} alt={room.name} loading="lazy" className="absolute inset-0 h-full w-full object-cover transition duration-1000 ease-out group-hover:scale-105" />
              <div className="absolute inset-0 bg-gradient-to-t from-black/75 via-black/15 to-transparent" />
              <div className="absolute inset-x-0 bottom-0 p-5 md:p-6">
                <h3 className="font-['Cardo',Georgia,'Times_New_Roman',serif] text-2xl">{room.name}</h3>
                <p className="mt-1 flex items-center gap-1.5 text-sm text-white/85">
                  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={1.75} strokeLinecap="round" strokeLinejoin="round" aria-hidden className="h-3.5 w-3.5">
                    <path d="M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21zM12 12a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z" />
                  </svg>
                  {room.location}
                </p>
                <p className="mt-3 font-['Cardo',Georgia,'Times_New_Roman',serif] text-2xl">
                  {room.price}
                  <span className="ml-1 font-sans text-sm text-white/80">/ night</span>
                </p>
                <p className="mt-2 flex flex-wrap gap-x-4 gap-y-1 text-sm text-white/85">
                  <span>
                    {room.guests} {room.guests === 1 ? "guest" : "guests"}
                  </span>
                  <span>
                    {room.beds} {room.beds === 1 ? "bed" : "beds"}
                  </span>
                  <span>{room.size}</span>
                </p>
              </div>
            </a>
          </li>
        ))}
      </ul>
    </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/HotelRoomCards.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
Features
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 Booking Hero
Hero

Hotel Booking Hero

Reviews Masonry Grid
Testimonial

Reviews Masonry Grid

More features

View all
Alternating Feature Rows
Feature

Alternating Feature Rows

Awards Checkerboard
Feature

Awards Checkerboard

Class Timetable
Feature

Class Timetable

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