Motion

Scroll Horizontal Gallery

Galleries 82

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

    624
  • Scroll word reveal

    Scroll word reveal

    228
  • Confetti

    Confetti

    189
  • Floating Action Button

    Floating Action Button

    106
  • Split text

    Split text

    72
  • Fill text

    Fill text

    71
  • Skeleton shimmer

    Skeleton shimmer

    61
  • Create Button

    Create Button

    57

More in Galleries

View all
  • Thumbnail image viewer

    Thumbnail image viewer

    83
  • Animated Gallery

    Animated Gallery

    1.5K
  • Image Gallery

    Image Gallery

    1.4K
  • Elastic Gallery

    Elastic Gallery

    1K
  • Editorial Collage Hero

    Editorial Collage Hero

    477
  • 3D Parallax Unfurling Gallery

    3D Parallax Unfurling Gallery

    1.1K
  • Img Sphere

    Img Sphere

    2.1K
  • Shared Element Gallery

    Shared Element Gallery

    473