Motion.Lab Web Animation Library
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_7fecb76a/motion-lab.
About this skill
Problem
Front-end pages often need quick entrance, hover, and text effects, but pasting random snippets still requires adjusting duration, distance, and color. This skill targets that workflow: when you ask for a button click feel, a landing-page title reveal, or particle/star/fluid background, it retrieves the matching Motion.Lab entry and returns ready-to-use HTML, CSS, and JS snippets.
How It Works
It organizes 160 motion effects into basic, text, interaction, and advanced groups. Basic effects are mostly CSS and fit low-cost integrations such as fade-in, pulse, and spinner. Text effects include typewriter, mask-reveal, and glitch-text. Advanced effects may involve Canvas, Three.js, GLSL, and physics simulation. Each effect lists tunable parameters, such as duration, distance, and blur, which can be changed through CSS custom properties or JS variables.
The workflow is simple: search by keyword, category, or difficulty, copy the code block for the selected ID, then pass parameters using style="--key: value" or JS variables.
Boundaries
It is useful for prototypes, demo pages, and marketing pages. If your project already has a design system, map the snippet’s colors, durations, and easing curves into your tokens first. Advanced effects are more sensitive to browser APIs, bundle size, and runtime performance, so check mobile frame rates and dependencies before shipping.
Use Cases
- Pick hover and click feedback animations for landing-page buttons and cards, then tune color and duration after copying the source.
- Add mask-reveal or typewriter effects to product titles, adjusting distance and delay for the first viewport.
- Build a demo-page background with star, particle, or fluid effects by taking a Canvas or Three.js snippet from the advanced list.
- Use shake or flash for form error feedback, changing duration and color before wiring it into existing validation.
Best For
- Front-end engineers building landing or marketing pages who need quickly copyable button, card, and hero-title animations.
- Product designers preparing prototypes who need ready-made CSS and JS motion snippets for titles, lists, and status hints.
- Small website teams maintaining official-site interactions who want pure-CSS basic effects with fewer dependencies.
- Independent developers trying Three.js or Canvas backgrounds who need particle, star, or fluid snippets with tunable parameters.
Related Skills
Guides Java Spring Boot backend development across REST APIs, data access, security, microservices, testing, deployment, and troubleshooting.
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Restores Lanhu designs to target framework code using schema JSON, design tokens, and image assets.
Automatically detects engineering or competition code, analyzes bugs, vulnerabilities, algorithm complexity, and edge cases, then produces risk-level findings with before/after fixes.