React scrolling menu recipes
Adds autoplay, looping and load more to a React horizontal scrolling menu, so it works without made up props.
Claude's review
7/10 Practical recipes for one scrolling menu library with the key warning not to invent props, some recipes in missing files.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Recipes composed on the react-horizontal-scrolling-menu public API — NOT props: autoplay (setInterval + scrollNext gated on menuVisible), infinite loop/carousel (clone head/tail + scrollLeft teleport at seams), center on click (scrollToItem 'center'), save/restore scroll position (onUpdate, onInit, scrollContainer), load-more with a loader item (items.last()?.visible in onUpdate), one item per scroll (getPrevElement/getNextElement), snap to a card (CSS scroll-snap on scrollContainerClassName/itemClassName, current card from onScroll, drag with snap switched off), hiding arrows, multiple menus, tab switching. Load when asked for autoplay, looping, snapping, a testimonial/card carousel, infinite scroll, or any feature missing from the props table — inventing an autoplay/loop/snap prop generates dead code.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: 'menu-recipes'
description: >
Recipes composed on the react-horizontal-scrolling-menu public API — NOT
props: autoplay (setInterval + scrollNext gated on menuVisible), infinite
loop/carousel (clone head/tail + scrollLeft teleport at seams), center on
click (scrollToItem 'center'), save/restore scroll position (onUpdate,
onInit, scrollContainer), load-more with a loader item (items.last()?.visible
in onUpdate), one item per scroll (getPrevElement/getNextElement), snap to
a card (CSS scroll-snap on scrollContainerClassName/itemClassName, current
card from onScroll, drag with snap switched off), hiding arrows, multiple
menus, tab switching. Load when asked for autoplay, looping, snapping,
a testimonial/card carousel, infinite scroll, or any feature missing from
the props table — inventing an autoplay/loop/snap prop generates dead code.
metadata:
type: core
library: 'react-horizontal-scrolling-menu'
library_version: '8.3.2'
sources:
- 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/Autoplay/Autoplay.source.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/InfiniteLoop/InfiniteLoop.source.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/CenterOnClick/CenterOnClick.source.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/SaveRestorePosition/Position.source.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/AddItems/AddItems.source.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/OneItemScroll/OneItemScroll.source.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/ScrollSnap/ScrollSnap.source.tsx'
---
# react-horizontal-scrolling-menu — Recipes
No autoplay, loop, or snap props exist, by design (README "What it does —
and doesn't"). Each feature below is a ~60-line recipe on the public API;
snapping to a card is CSS scroll-snap, not physics. Generate the recipe,
never a prop.
Every recipe is also a live-editable Storybook story — URLs and source paths
in `references/stories.md`.
## Setup
...From asmyshlyaev177's repository, MIT licence.
Related skills
-
Checked
TinyBase app builder
Scaffolds and extends local first JavaScript apps with TinyBase, including schemas, persistence and sync.
7/101 credit -
Checked
ComfyUI custom node UI
Adds widgets, sidebar tabs, commands and dialogs to ComfyUI custom nodes, so your node feels built in.
8/101 credit -
Checked
Scrolling menu upgrade
Finds outdated react-horizontal-scrolling-menu code and rewrites it for version 8 so the menu works again.
7/101 credit -
Checked
Scroll Menu Testing and SSR
Gets react-horizontal-scrolling-menu working in Next.js and tested in Jest and Playwright without flicker.
7/101 credit -
Checked
Screenshot to React code
Rebuilds a screenshot or mockup as React, TypeScript and Tailwind code that closely matches the design.
7/101 credit -
Checked
Map location picker
Adds a map pin picker to a web form, so users can choose and submit one exact spot like a delivery address.
7/101 credit