Horizontal Scroll Gallery
Horizontal Scroll Gallery
Vertical scroll drives horizontal movement. Content panels slide left as user scrolls down, creating a cinematic horizontal gallery experience.
Installation
# Copy horizontal-scroll.tsx to your project
cp components/ui/horizontal-scroll.tsx your-project/components/ui/horizontal-scroll.tsxHow to use
import { HorizontalScroll } from "@/components/ui/horizontal-scroll";<HorizontalScroll>
{[
<div className="w-full max-w-2xl"><h2>Slide 1</h2></div>,
<div className="w-full max-w-2xl"><h2>Slide 2</h2></div>,
<div className="w-full max-w-2xl"><h2>Slide 3</h2></div>,
]}
</HorizontalScroll>Dependencies
Exports
HorizontalScrollFile
components/ui/horizontal-scroll.tsxScroll down to navigate horizontally →
Design System
Start with a cohesive design language. Define your colors, typography, spacing, and component patterns that scale with your product.
Component Library
Build production-ready components with TypeScript, Framer Motion, and Tailwind CSS. Every piece is tested and documented.
Ship to Production
Deploy with confidence. Each component is optimized for performance, accessibility, and cross-browser compatibility.
Iterate & Improve
Continuously refine your product with community feedback, version updates, and new component releases.
Horizontal Scroll Gallery
Vertical scroll drives horizontal movement. Content panels slide left as user scrolls down, creating a cinematic horizontal gallery experience.
Installation
# Copy horizontal-scroll.tsx to your project
cp components/ui/horizontal-scroll.tsx your-project/components/ui/horizontal-scroll.tsxHow to use
import { HorizontalScroll } from "@/components/ui/horizontal-scroll";<HorizontalScroll>
{[
<div className="w-full max-w-2xl"><h2>Slide 1</h2></div>,
<div className="w-full max-w-2xl"><h2>Slide 2</h2></div>,
<div className="w-full max-w-2xl"><h2>Slide 3</h2></div>,
]}
</HorizontalScroll>Dependencies
Exports
HorizontalScrollFile
components/ui/horizontal-scroll.tsx