Hyperiux Vault

Infinite Perspective Slider

Component 147

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}
    />
  );
}

Dependencies

More by Hyperiux Vault

View all
  • Product Timeline

    Product Timeline

    2.3K
  • Stack Spread

    Stack Spread

    1.3K
  • Arrow Fill Button

    Arrow Fill Button

    912
  • Interactive List Preview

    Interactive List Preview

    869
  • Shiny Button

    Shiny Button

    750
  • Circular Split Roll

    Circular Split Roll

    641
  • Zoom Slider

    Zoom Slider

    430
  • Stack Loader

    Stack Loader

    371

Explore more

Part of Hyperiux Vault — browse the full library on 21st.dev.