Motion

Scroll Horizontal Gallery

Galleries 91

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

    626
  • Scroll word reveal

    Scroll word reveal

    265
  • Confetti

    Confetti

    212
  • Floating Action Button

    Floating Action Button

    122
  • Split text

    Split text

    79
  • Fill text

    Fill text

    79
  • Scramble text

    Scramble text

    69
  • Skeleton shimmer

    Skeleton shimmer

    65

More in Galleries

View all
  • Scattered About

    Scattered About

    68
  • Gallery Component

    Gallery Component

    39
  • Photo Deck

    Photo Deck

    66
  • Editorial Collage Hero

    Editorial Collage Hero

    524
  • Cloth Works Gallery

    Cloth Works Gallery

    60
  • Image Gallery

    Image Gallery

    97
  • Elastic Gallery

    Elastic Gallery

    1.2K
  • Product Hover Showcase

    Product Hover Showcase

    109