mcpField
M
marquee-loop

marquee-loop

github.com/mengtoDesign & UI7.1k1.6k installsUpdated 3d ago
Repository

About marquee-loop

A design skill for creating seamless, infinite marquee loops for repeated visual content. It covers animation setup, interaction choices, and reduced-motion considerations.

Key features

  1. 01Seamless sequence duplication
  2. 02Linear track animation
  3. 03Stable item widths
  4. 04Edge masking or fading
  5. 05Reduced-motion handling

Use cases

  1. 01Looping logo strips
  2. 02Displaying testimonials in a marquee
  3. 03Showing screenshots or feature tags

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mengto/skills --skill marquee-loop

After installing, type/marquee-loopin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

demo/
index.html
PROMPT.md
source.json

Details

From the project README

Marquee Skill

Use When

  • A design needs a seamless infinite loop for logos, testimonials, screenshots, tags, or short feature chips.

Workflow

  1. Duplicate the item sequence so the end and beginning match perfectly.
  2. Animate the track with a linear transform from 0 to -50%.
  3. Keep item widths stable to prevent jumps during the loop.
  4. Mask or fade the edges when the marquee enters or exits a section.
  5. Pause or slow the marquee on hover only when interaction is useful.
  6. Respect prefers-reduced-motion with a static wrap or very slow movement.

Guardrails

  • Do not animate unique content that users must read carefully.
  • Do not use large CPU-heavy shadows or filters on every moving item.

Comments

Markdown supported