Registry / asmyshlyaev177

asmyshlyaev177/react-horizontal-scrolling-menu/menu-visibility

Track which react-horizontal-scrolling-menu items are on screen: useIsVisible(itemId | 'first' | 'last', defaultValue), useLeftArrowVisible/useRightArrowVisible, the options prop (ratio, rootMargin, threshold), items.getVisible()/subscribe/unsubscribe, and the async IntersectionObserver truth model (items must be seen once, menuVisible gating, non-reactive isFirstItemVisible reads). Load when disabling arrows at the edges, styling items by visibility, building progress indicators, or debugging f

Agent skill · version 8.3.3-master.1794518864.g44afa8f · from asmyshlyaev177/react-horizontal-scrolling-menu

Install

npx yarkr-cli add skill:asmyshlyaev177/react-horizontal-scrolling-menu/menu-visibility

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:asmyshlyaev177/react-horizontal-scrolling-menu/menu-visibility
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:asmyshlyaev177/react-horizontal-scrolling-menu/menu-visibility

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:asmyshlyaev177/react-horizontal-scrolling-menu/menu-visibility

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.