Motion

Scroll Horizontal Gallery

Galleries 65

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

    180
  • Confetti

    Confetti

    160
  • Floating Action Button

    Floating Action Button

    84
  • Split text

    Split text

    69
  • Fill text

    Fill text

    65
  • Skeleton shimmer

    Skeleton shimmer

    58
  • Scramble text

    Scramble text

    54

More in Galleries

View all
  • Thumbnail image viewer

    Thumbnail image viewer

    39
  • Animated Gallery

    Animated Gallery

    1.4K
  • Editorial Collage Hero

    Editorial Collage Hero

    425
  • Hero Section 6

    Hero Section 6

    877
  • Elastic Gallery

    Elastic Gallery

    899
  • Layout Grid

    Layout Grid

    821
  • 3D Carousel

    3D Carousel

    2.5K
  • Tilted Grid Hero

    Tilted Grid Hero

    1.4K