About
Infinitely looping horizontal gallery driven by wheel and drag, cards tilting on a Y-axis perspective as they move, with SplitText caption reveals on hover. Theme-aware, reduced-motion safe, prop-driven.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Infinite Perspective Slider to your project and fits it to your theme.
Code
How Infinite Perspective Slider is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import InfinitePerspectiveSlider from "@/components/ui/infinite-perspective-slider";
// Paints the theme background out of the box. Pass `images` for your own set.
export default function InfinitePerspectiveSliderDemo() {
return (
<InfinitePerspectiveSlider
cardWidth={320}
cardGap={24}
perspective={2200}
scrollSpeed={1}
scrollLerp={0.1}
maxRotation={80}
/>
);
}








