All-Access · 23 templates$1319.97$99/year — save 92%Get access
  • HomeHome
  • TemplatesTemplates17+
  • ComponentsComponents80+
  • 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
ComponentsCarouselInfinite Image Carousel
FreeReactTailwind CSSNext.js

Infinite Image Carousel

An endless photo strip that scrolls sideways with pure CSS and pauses on hover. Tailwind CSS, no JavaScript.

View codeView code
Full screen
InfiniteImageCarousel.tsx
// Endless photo strip that scrolls sideways (CSS only) and pauses on hover.
// Pure Tailwind, no dependencies. Works with Tailwind v3 and v4.

type Props = {
  images?: { src: string; alt: string }[];
  duration?: number;
};

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

const DEFAULT_IMAGES = [
  { src: img("1522708323590-d24dbb6b0267"), alt: "Bright open-plan living room" },
  { src: img("1586023492125-27b2c045efd7"), alt: "Yellow armchair in a minimal room" },
  { src: img("1560184897-cca79b749615"), alt: "Living room with a fireplace" },
  { src: img("1512917774080-9991f1c4c750"), alt: "White modern villa with a pool" },
  { src: img("1664225398704-993a0b392a42"), alt: "Open kitchen and lounge" },
  { src: img("1707189855420-0e0e7ba3e384"), alt: "Spacious family room" },
];

export default function InfiniteCarousel({ images = DEFAULT_IMAGES, duration = 30 }: Props) {
  const row = (
    <div className="flex shrink-0">
      {images.map((image) => (
        <div key={image.src} className="relative mx-2 h-[350px] w-72 shrink-0 overflow-hidden">
          <img src={image.src} alt={image.alt} loading="lazy" className="h-full w-full object-cover" />
        </div>
      ))}
    </div>
  );

  return (
    <section className="bg-white py-16 md:py-28">
      <style>{`@keyframes clay-marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }`}</style>
      <div className="group w-full overflow-hidden">
        <div
          className="flex w-max group-hover:[animation-play-state:paused] motion-safe:animate-[clay-marquee_var(--duration)_linear_infinite]"
          style={{ "--duration": `${duration}s` } as React.CSSProperties}
        >
          {row}
          <div aria-hidden className="flex">
            {row}
          </div>
        </div>
      </div>
    </section>
  );
}

How to use it

  1. Make sure your Next.js or React project has Tailwind CSS set up.
  2. Create components/InfiniteImageCarousel.tsx and paste the code.
  3. Import it into a page and replace the placeholder text and images with your own.
Clay - Modern Real Estate Next.js Template
From the full template
Clay - Modern Real Estate Next.js Template$49

This section is one part of Clay - Modern Real Estate Next.js Template: a complete website with every page, Sanity CMS and SEO already set up.

Get the full template Get the full template Live preview Live preview

More free components

All carousel →
Fading Quote Testimonials

Fading Quote Testimonials

Press Marquee

Press Marquee

Menu Card Slider

Menu Card Slider

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