Motion

Scroll Horizontal Gallery

Galleries 75

About

A horizontal gallery that scrolls sideways as you scroll down. Uses sticky positioning with scroll-linked x translation.

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

Code

How Scroll Horizontal Gallery is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import ScrollHorizontal from "@/components/ui/motion-scroll-horizontal"

export default function Default() {
  return (
    <div className="motion-example flex w-full items-center justify-center p-6">
      <ScrollHorizontal />
    </div>
  )
}

Dependencies

More by Motion

View all
  • Material design ripple

    Material design ripple

    623
  • Scroll word reveal

    Scroll word reveal

    194
  • Confetti

    Confetti

    167
  • Floating Action Button

    Floating Action Button

    91
  • Split text

    Split text

    70
  • Fill text

    Fill text

    67
  • Skeleton shimmer

    Skeleton shimmer

    58
  • Create Button

    Create Button

    56

More in Galleries

View all
  • Animated Gallery

    Animated Gallery

    1.5K
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Image Gallery

    Image Gallery

    1.4K
  • Thumbnail image viewer

    Thumbnail image viewer

    64
  • Elastic Gallery

    Elastic Gallery

    958
  • 3D Parallax Unfurling Gallery

    3D Parallax Unfurling Gallery

    1K
  • Img Sphere

    Img Sphere

    2.1K
  • Shared Element Gallery

    Shared Element Gallery

    446