Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

horizontal-scroll-scenes

Skill by MengTo

Builds scene-by-scene chapters that advance left to right on a fixed stage as the user scrolls vertically, using native scroll as the only input. Aimed at horizontal scrollytelling, product tours and chapter carousels that must survive reverse scrolling, refresh and touch.

  • Score 92
  • 8.7k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install horizontal-scroll-scenes

Built from the published package, never by AI.

git clone --depth 1 https://github.com/MengTo/Skills /tmp/Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Skills/agent-skills/web-design/horizontal-scroll-scenes ~/.claude/skills/horizontal-scroll-scenes

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install horizontal-scroll-scenes in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Horizontal Scroll Scenes is an agent skill for building chapters that move left to right on one fixed stage while the user scrolls vertically. Scroll position is the only state. A pure function turns scrollY into scene, dwell and move values on every frame, so reverse scrolling, scrollbar drags, fast skips and reloads land on the correct frame. Native scroll is the only input, with no wheel handler and no scroll snap.

The skill covers dwell and transition timing, a burn-wipe or pan between scenes, a chapter index and progress UI, glide links that skip intermediate scenes, keyboard handling and reduced-motion behaviour. It is aimed at horizontal scrollytelling, multi-scene product tours and wheel-driven chapter carousels, where wheel-jacked sliders break on touch, keys, refresh or back. The demo uses vanilla JavaScript, DOM, CSS and inline SVG, and the source material is a three.js page.

Written from the project's SKILL.md and checked against it.

What it can do

  • Scroll-derived scene stateTurns scroll position into scene, dwell and move values on every frame, with no stored current chapter.
  • Dwell and transition timingSets the scroll budget for resting inside a scene versus moving to the next one.
  • Burn-wipe or pan transitionsBuilds a wipe line or pan between scenes on a fixed stage.
  • Chapter index and progress UIShows a chapter index with the current scene marked and a progress display.
  • Glide-to-scene linksProvides links that glide to a scene and skip intermediate scenes.
  • Keyboard and reduced-motion handlingCovers keyboard navigation and a reduced-motion behaviour for the scenes.
  • Accessibility detailsUses real links with aria-current, hides off-screen chapters with inert, and announces committed changes.

What you need

  • Vanilla JavaScript, DOM and CSS (demo)
  • Inline SVG (demo)
  • three.js (for the WebGL source version)

Try asking

  • Build a five-scene horizontal scroll tour where users scroll down to travel sideways.
  • Add a chapter index and a glide link that jumps to scene 4 without stopping at 2 and 3.
  • Make my horizontal scroll scenes work on reload, scrollbar drags and touch devices.

Good to know

  • The state machine is free, but scene rendering cost depends on what each scene draws.
  • The demo is built with vanilla JavaScript and inline SVG rather than three.js.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agent-skills/web-design/horizontal-scroll-scenes/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • PROMPT.md2 KB
  • SKILL.md10 KB
  • agents/openai.yaml445 B
  • demo.html37 KB
  • preview.jpg147 KB

Alternatives to horizontal-scroll-scenes

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

horizontal-scroll-scenes: common questions

How does horizontal scroll scenes handle reloading the page at a deep scroll position?

Because state is derived from scroll position and not stored, the correct scene is shown after a reload, scrollbar drag or anchor jump. The source says the page renders on load and pageshow events for this reason.

Does it use scroll snapping or a wheel hijack?

No. The source says it avoids both, since they break touch, trackpad momentum, keyboard scrolling and find-in-page.

Is the three.js version included?

The source describes a three.js original, Kibori, and says the demo is built with vanilla JavaScript and inline SVG while the state machine is identical.

How do I install horizontal-scroll-scenes?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is horizontal-scroll-scenes free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is horizontal-scroll-scenes safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to horizontal-scroll-scenes?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

horizontal-scroll-scenes Install

Add to stack

Loading.