Motion

Scroll Horizontal Gallery

Galleries 88

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

    255
  • Confetti

    Confetti

    204
  • Floating Action Button

    Floating Action Button

    121
  • Split text

    Split text

    78
  • Fill text

    Fill text

    77
  • Skeleton shimmer

    Skeleton shimmer

    65
  • Scramble text

    Scramble text

    63

More in Galleries

View all
  • Photo Deck

    Photo Deck

    46
  • Hanging Glass Gallery

    Hanging Glass Gallery

  • Gallery Component

    Gallery Component

    21
  • Scattered About

    Scattered About

    50
  • Animated Gallery

    Animated Gallery

    1.6K
  • Cylinder Tunnel Gallery

    Cylinder Tunnel Gallery

  • Cloth Works Gallery

    Cloth Works Gallery

  • Image Gallery

    Image Gallery

    131