component

Gallery transition

Running live. Go ahead and touch it.

A data-driven switcher with eight direction-aware transitions.

See it in the design system

How it behaves

  • Arrow keys and swipe change the slide
  • Invalid settings fall back to a crossfade
  • A short fade under reduced motion

Find more that moves like this

Kind
component
Blueprint
motion-kit 1.0.3
Moves by
swipe, entrance

Import

import { GalleryTransition } from "@/components/shared/animation/gallery-transition";

Props

PropWhat it does
activeKeyThe current slide
directionFrom useGalleryNavigation
configTransition settings. Defaults to crossfade
swipePropsFrom useGalleryNavigation
slideClassNameStyles for each slide
onExitCompleteCalled after a change

Gallery transition ships inside the Motion Kit blueprint. These instructions tell your agent to take only this piece.

Version
1.0.3
Files
86
Dependencies
20
Assets
3

Paste this into Claude Code, Codex, Cursor, or whichever agent you trust today.

  • Building a blueprint runs its code, so use an isolated environment.
  • License: UNLICENSED.
  • Every value on this page is demo content that shows one component's behavior. The numbers are placeholders, not real figures.
website

Pallet Ross

A creative network landing page where one set of cards travels through pinned scroll stages, from arc to cascade to grid.

website

Sixpay

A fintech homepage with detail panels in the navbar, a phone between tilted photos, rotating feature tabs, and a looping carousel of customer stories.

websiteNew

Eduvet University

A university homepage with a split photo hero, founder message, campus gallery, interactive departments, news, and an admissions preview.

component

University hero

A reference-led university introduction with synchronized left copy and a photographic carousel on the right.