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

Expanding Service Rows

View code
Full screen

Numbered service rows that open on hover, sliding in a button and raising an arched photo. React and Tailwind CSS, no dependencies.

ExpandingServiceRows.tsx
"use client";

// Numbered service rows on a dark band. On desktop the hovered row opens: its
// button slides in and an arched photo rises on the right. Phones show every row open.
// Pure Tailwind + React, no dependencies. Works with Tailwind v3 and v4.

import { useState } from "react";

type Service = { title: string; text: string; link?: { label: string; href: string }; image: string };

type Props = {
  heading?: string;
  intro?: string;
  services?: Service[];
};

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

const DEFAULT_SERVICES: Service[] = [
  { title: "Breeding", text: "Fresh and frozen semen from proven stallions, with mare care on site through foaling.", link: { label: "Breeding fees", href: "#" }, image: img("1692024363479-1648f19f240f") },
  { title: "Training", text: "Young horses started patiently, then produced for the ring by our riders.", link: { label: "Meet the riders", href: "#" }, image: img("1695133996129-017af80651fc") },
  { title: "Livery", text: "Full livery in airy stables with daily turnout and a vet on call.", link: { label: "Livery options", href: "#" }, image: img("1576692192914-9abed71b3ef9") },
  { title: "Sales", text: "Horses we know inside out, matched to riders with honest advice and trial rides.", link: { label: "Horses for sale", href: "#" }, image: img("1639370804113-c398aca25aee") },
];

const ease = "ease-[cubic-bezier(0.22,1,0.36,1)]";

export default function ServiceRowsHover({
  heading = "What we offer",
  intro = "Four ways we work with owners, breeders and riders.",
  services = DEFAULT_SERVICES,
}: Props) {
  const [active, setActive] = useState(0);

  return (
    <section className="bg-[#210313] py-28 font-['Hanken_Grotesk',ui-sans-serif,system-ui,sans-serif] text-white antialiased md:py-40">
      <div className="mx-auto grid max-w-[100rem] gap-8 px-4 md:px-8 lg:grid-cols-12 lg:items-end lg:px-12">
        <h2 className="font-['Fraunces',Georgia,'Times_New_Roman',serif] text-[clamp(2.25rem,4.5vw,4.75rem)] leading-none tracking-[-0.03em] lg:col-span-7">{heading}</h2>
        <p className="text-lg leading-relaxed text-white/65 lg:col-span-4 lg:col-start-9">{intro}</p>
      </div>

      <ul className="mt-14 md:mt-20">
        {services.map((s, i) => {
          const open = active === i;
          return (
            <li key={s.title} onPointerEnter={() => setActive(i)} onFocus={() => setActive(i)} className="relative">
              <div aria-hidden className={`absolute inset-0 bg-[#2c081a] transition-opacity duration-700 ${ease} ${open ? "lg:opacity-100" : "opacity-0"}`} />
              <div className="relative mx-auto grid max-w-[100rem] gap-5 px-4 py-9 md:px-8 lg:grid-cols-12 lg:items-center lg:gap-8 lg:px-12 lg:py-11">
                <span className="font-['Fraunces',Georgia,serif] text-2xl italic text-[#dcc59a] lg:col-span-1">{String(i + 1).padStart(2, "0")}</span>
                <div className="lg:col-span-5">
                  <h3 className={`font-['Fraunces',Georgia,serif] text-4xl transition-all duration-700 ${ease} md:text-5xl lg:text-6xl ${open ? "lg:translate-x-3 lg:text-[#efe2c4]" : ""}`}>{s.title}</h3>
                  {s.link && (
                    <div className={`grid transition-all duration-700 ${ease} ${open ? "lg:grid-rows-[1fr]" : "lg:grid-rows-[0fr] lg:opacity-0"}`}>
                      <div className="overflow-hidden lg:pl-3">
                        <a href={s.link.href} className="mt-7 inline-flex h-12 items-center border border-white/40 px-6 text-xs font-medium uppercase tracking-[0.1em] transition-colors hover:bg-white hover:text-[#210313]">
                          {s.link.label}
                        </a>
                      </div>
                    </div>
                  )}
                </div>
                <p className={`text-base leading-relaxed text-white/70 transition-opacity duration-700 lg:col-span-4 ${open ? "" : "lg:opacity-55"}`}>{s.text}</p>
                {/* Phones and tablets: photo inline */}
                <div className="aspect-video overflow-hidden lg:hidden">
                  <img src={s.image} alt={s.title} loading="lazy" className="h-full w-full object-cover" />
                </div>
                {/* Desktop: an arch that rises in when the row opens */}
                <div className="hidden justify-end lg:col-span-2 lg:flex">
                  <div className={`aspect-[3/4] w-32 overflow-hidden rounded-t-full transition-[clip-path] duration-[1100ms] ease-in-out ${open ? "[clip-path:inset(0)]" : "[clip-path:inset(100%_0_0_0)]"}`}>
                    <img src={s.image} alt="" className={`h-full w-full object-cover transition-transform duration-[1600ms] ${ease} ${open ? "scale-100" : "scale-125"}`} />
                  </div>
                </div>
              </div>
            </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/ExpandingServiceRows.tsx and paste the code.
  3. Import it into a page and replace the sample text and images with your own.
Orvaine - Luxury Equestrian & Horse Breeding Website Template

From the full template

Orvaine$79

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

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

More from Orvaine

See the full template
Arched Portrait Carousel
Carousel

Arched Portrait Carousel

Events Agenda with Hover Preview
Feature

Events Agenda with Hover Preview

Hollow Word Ticker
Carousel

Hollow Word Ticker

More features

View all
Facilities Hover Reveal Grid
Feature

Facilities Hover Reveal Grid

Manifesto with Cycling Keywords
Feature

Manifesto with Cycling Keywords

Count-Up Stats
Feature

Count-Up Stats

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