Julien Thibeaut

Infinite Slider

Clients 1.5K

About

Infinite scrolling slider component that smoothly loops through its children. It supports both horizontal and vertical directions, with customizable speed and speed on hover. Ideal for creating continuous carousels, marquee displays, or dynamic content showcases.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Infinite Slider to your project and fits it to your theme.

Code

How Infinite Slider is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { InfiniteSlider } from "@/components/ui/infinite-slider";

function InfiniteSliderBasic() {
  return (
    <InfiniteSlider gap={24} reverse className="w-full h-full bg-white">
      <img
        src="https://motion-primitives.com/apple_music_logo.svg"
        alt="Apple Music logo"
        className="h-[120px] w-auto"
      />
      <img
        src="https://motion-primitives.com/chrome_logo.svg"
        alt="Chrome logo"
        className="h-[120px] w-auto"
      />
      <img
        src="https://motion-primitives.com/strava_logo.svg"
        alt="Strava logo"
        className="h-[120px] w-auto"
      />
      <img
        src="https://motion-primitives.com/nintendo_logo.svg"
        alt="Nintendo logo"
        className="h-[120px] w-auto"
      />
      <img
        src="https://motion-primitives.com/jquery_logo.svg"
        alt="Jquery logo"
        className="h-[120px] w-auto"
      />
      <img
        src="https://motion-primitives.com/prada_logo.svg"
        alt="Prada logo"
        className="h-[120px] w-auto"
      />
    </InfiniteSlider>
  );
}

export default {
  InfiniteSliderBasic
};

Dependencies

More by Julien Thibeaut

View all
  • Dock

    Dock

    3.1K
  • Text Effect

    Text Effect

    1.6K
  • Text Shimmer

    Text Shimmer

    1.3K
  • Text Scramble

    Text Scramble

    1.1K
  • Progressive blur

    Progressive blur

    688
  • Glow Effect

    Glow Effect

    615
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    558
  • Sliding Number

    Sliding Number

    498

More in Clients

View all
  • Logo Cloud

    Logo Cloud

    94
  • Testimonial

    Testimonial

    87
  • Logo Cloud 2

    Logo Cloud 2

    1.7K
  • Marquee Logo Scroller

    Marquee Logo Scroller

    301
  • Cinematic Logo Cloud

    Cinematic Logo Cloud

    156
  • Ruler Carousel

    Ruler Carousel

    629
  • Logo Clouds

    Logo Clouds

    106
  • Cases with Infinite Scroll

    Cases with Infinite Scroll

    830