# MotionKit > Cross-platform UI craft baseline, static UI/motion auditor, and framework-agnostic motion specs (React, Vue, Tailwind, Taro, Flutter, SwiftUI, or vanilla web). ## Quick Install & Audit for AI Agents - CLI install (Apply + Review skills, no clone required): `npx github:wangjian-damon/motion-kit install` - Project-level team install: `npx github:wangjian-damon/motion-kit install --project` - Static UI & motion lint (P0/P1/P2): `npx github:wangjian-damon/motion-kit lint ./src` - Built-in MCP server (5 tools: search, spec, presets, craft baseline, code audit): `npx github:wangjian-damon/motion-kit mcp` - Skills ecosystem: `npx skills add wangjian-damon/motion-kit --skill motion-kit-apply` / `--skill motion-kit-review` - Live Interactive AI Asset Library: https://wangjian-damon.github.io/motion-kit/demo/library.html - Machine-Readable Registry JSON: https://wangjian-damon.github.io/motion-kit/dist/registry.json - Apply Skill (UI Craft Baseline + 66 Specs): https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/SKILL.md - Review Skill (P0/P1/P2 UI Audit & Break-UI): https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-review/SKILL.md ## Framework-Agnostic Effect Specs (69) ### Feedback / 反馈 (11) - [Live Table Cell Flash (cell-flash)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/cell-flash.md): Directional green/red 80ms attack + 650ms decay pulse on live metric ticks, locked with tabular-nums so table columns never jitter horizontally. - [Physics Confetti Cannon (confetti)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/confetti.md): Zero-dependency WAAPI confetti burst launching colored particles from a button or viewport center with upward arc, gravity spin, and automatic DOM cleanup. - [Long-Press Context Menu (context-menu)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/context-menu.md): Hold 480ms to gently scale down the background stage, blur backdrop, and expand a bounds-clamped menu directly from the fingertip with three-way edge flipping. - [Liquid Glass Tap Specular (glass-tap)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/glass-tap.md): Touch-focused specular bloom that concentrates light at the exact contact point, squishes with elastic rebound, and gracefully lingers before fading. - [Long Press with Click Guard (long-press)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/long-press.md): 480ms sustained press with subtle sink feedback, haptic buzz, movement cancellation, and a document-capture click suppressor so releasing never fires stray clicks. - [Origin-Aware Click Ripple (ripple)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/ripple.md): Expands a translucent circular wave from the exact pointer coordinates to the farthest element corner and self-removes cleanly on finish. - [WebGL Optical Water Ripples (shader-ripple)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shader-ripple.md): Pointer-triggered Gaussian sine-wave refraction rings with subtle chromatic aberration and specular crests, supporting 6 concurrent auto-recycled ripple slots. - [Zero-Jitter Multi-State Button (state-button)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/state-button.md): Stacks idle / loading / success / error labels in a single grid cell so width never jumps, with 400ms anti-flash minimum loading duration and double-submit lock. - [Zero-Latency Touch Press (tap)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/tap.md): Applies crisp scale(0.955) + highlight on the exact pointerdown frame (0ms instead of CSS :active's 100ms mobile delay) and cancels cleanly if the finger scrolls away. - [Warmup Tooltip Group (tooltip-group)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/tooltip-group.md): Shared toolbar tooltip state machine: waits 400ms on cold hover to prevent accidental flicker, then switches at 0ms instantly across neighbors within a 300ms warmup window. - [AI Symmetric Voice Waveform (voice-wave)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/voice-wave.md): Nine center-weighted sine-envelope bars animated strictly via compositor scaleY across idle, listening, speaking, or live mic energy with offscreen/tab-hide halt. ### Continuity / 连续 (10) - [Smooth Grid Accordion (accordion)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/accordion.md): Zero-measurement bidirectional disclosure using CSS Grid 0fr -> 1fr tracks, subtle inner fade/translate, chevron rotation, and automatic inert focus isolation when collapsed. - [Draggable Bottom Sheet (bottom-sheet)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/bottom-sheet.md): Touch-first modal sheet rising from the bottom edge: dismisses when dragged past 28% height or flicked fast (>0.55px/ms), otherwise springs smoothly back. - [Dynamic Status Pill (dynamic-pill)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/dynamic-pill.md): Single persistent container morphing smoothly across idle, thinking, done, and error states — transitioning pill radius, padding, semantic border, and breathing indicator dot. - [Fluid Height Container (fluid-height)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/fluid-height.md): ResizeObserver measures an unconstrained inner wrapper and writes a single subpixel CSS height variable so multi-step modals and accordions breathe smoothly across all browsers. - [Pure CSS @starting-style Popover (pop)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/pop.md): Zero-JS enter/exit popover transitions powered by native CSS @starting-style and allow-discrete display transitions. - [Sliding Segmented Control (seg)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/seg.md): Shared background pill gliding smoothly across equal-width options via a single CSS index variable with subtle overshoot — zero pixel measurement. - [WebGL 3D Liquid Mercury Metaballs (shader-metaballs)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shader-metaballs.md): Polynomial smooth-min blending 5 orbiting 3D chrome droplets plus 1 pointer-attracted droplet via 42-step SDF raymarching and iridescent specular reflections. - [WebGL 3D Wireframe Terrain (shader-terrain)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shader-terrain.md): Single gl.LINES draw call rendering a 28×28 static-VBO terrain mesh displaced in the vertex shader with traveling valley ridges, elevation coloring, and horizon fog. - [Shared Element View Transition (shared-element)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shared-element.md): Card-to-detail morph powered purely by browser-native View Transitions API (`view-transition-name`) with deterministic safe-ID generation and zero JS FLIP measurement. - [Sonner Stacked Toasts (toast-stack)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/toast-stack.md): Stacks notifications cleanly with 14px peeking edges and 5% scale cascade, expands on hover with timer pause, and supports velocity-based horizontal swipe dismiss. ### Direction / 方向 (11) - [Anchored Popover & Viewport Flip (anchor-popover)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/anchor-popover.md): Zero-Floating-UI anchored popover using native CSS Anchor Positioning with pure-function viewport flip/clamp fallback and trigger-aligned scale(0.95) entrance. - [3D Cover Flow Gallery (coverflow)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/coverflow.md): Classic Apple Cover Flow computed from a single relative-offset pure function: centered focal card forward in Z, side cards symmetrically angled ±42° with click, drag, and arrow keys. - [Left-Edge Swipe Back (edge-back)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/edge-back.md): Interactive drag-to-navigate starting within 20px of the left edge; commits back navigation past 1/3 viewport width or a crisp rightward flick. - [3D Card Fan Spread (fan)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/fan.md): Cards stacked around a shared bottom pivot fan open symmetrically on hover by multiplying a single CSS spread coefficient — keeping the center card upright. - [3D Paper Fold Panel (fold)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/fold.md): Hinged top-edge rotateX(-92deg → 0deg) origami disclosure that automatically toggles `inert` when collapsed so hidden controls never trap Tab focus. - [Draggable 3D Ring Carousel (ring)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/ring.md): Cards arranged in a true 3D Y-axis cylinder combining auto-orbit, pointer-capture dragging, and 0.96 inertia decay into a single unified angle variable with zero velocity jumps. - [Scroll Edge Fade Mask (scroll-fade)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/scroll-fade.md): Background-agnostic horizontal or vertical mask-image feathering that appears only where overflow remains and smoothly vanishes to 0px at either scroll boundary. - [WebGL 3D Holographic Globe (shader-globe)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shader-globe.md): Analytical ray-sphere intersection (zero mesh, zero texture) rendering cosine-corrected lat/lon grid, dotted FBM continents, pulsing city beacons, and Fresnel atmosphere. - [Scroll-Driven Sticky Hairline (sticky-title)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/sticky-title.md): Automatically fades in a crisp bottom hairline border as a sticky header scrolls past 0–48px via CSS `animation-timeline: scroll()` — zero JS, zero listeners. - [Swipe-to-Reveal List Action (swipe)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/swipe.md): Horizontal drag on mobile list rows revealing fixed-width actions behind; latches open past 40% travel or a quick leftward flick while preserving vertical scroll. - [Infinite 3D Depth Tunnel (tunnel)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/tunnel.md): Ten concentric frames flying along Z from -900px to +200px sharing one CSS @keyframes rule staggered via negative animation-delay so frame 0 is already full. ### Weight / 权重 (9) - [3D Draggable Card Stack (card-deck)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/card-deck.md): Layered Z-axis card stack with 1:1 pointer-capture drag, coupled 3D yaw/tilt, crisp fling-to-back cycling past 82px, and pointercancel safety bounce-back. - [Discrete Detent Slider (detent)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/detent.md): Stepped tactile slider that commits immediately on every notch crossing with optional haptic pulse and snaps crisply on release. - [macOS Dock Magnification (dock)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/dock.md): Quadratic distance-falloff icon magnification driven by layout offsetLeft (never jittering getBoundingClientRect) so neighbors scale smoothly with zero boundary kink. - [Magnetic Pull Button (magnetic)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/magnetic.md): Gently pulls a CTA button toward the cursor within a 90px field (capped at 14px offset) and springs cleanly back to rest on pointer exit. - [Magnetic Repulsion Dot Grid (mgrid)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/mgrid.md): Interactive dot matrix where points within 90px smoothly part away from the pointer along a quadratic falloff curve, seamlessly settling to zero at the edge. - [Pull-to-Refresh with Damping (pull-refresh)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/pull-refresh.md): Over-scroll drag gesture at list top with progressive resistance, threshold commit feedback, async loading hold, and smooth release snap-back. - [iOS Rubber-Band Overscroll (rubber-band)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/rubber-band.md): Authentic UIScrollView hyperbolic overscroll damping (c = 0.55) that grows asymptotically heavier past bounds and springs cleanly back on release. - [WebGL 3D Spiral Nebula Particles (shader-particles)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shader-particles.md): Single gl.POINTS draw call projecting 1,500 three-arm 3D spiral galaxy particles with pointer yaw/pitch rotation, perspective sizing, and additive core bloom. - [Multi-Snap Bottom Sheet (snap-sheet)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/snap-sheet.md): Three-detent bottom sheet (35% / 62% / 100%) using velocity-projected landing calculation and dedicated lowest-detent quick-dismiss ergonomics. ### Material / 材质 (14) - [Organic Morphing Blob (blob)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/blob.md): Pure CSS 8-value border-radius interpolation on an 8s breathing loop that turns any container or avatar into an organic liquid droplet — zero SVG, zero JS. - [3D Hardcover Book Showcase (book-3d)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/book-3d.md): Five-face preserve-3d hardcover book with spine, striped page-edge, and inner spread: peeks open 24° on hover and swings open 132° around the left spine on click or keyboard. - [Animated Conic Glow Border (border-run)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/border-run.md): Pure CSS @property angle variable driving a rotating conic-gradient masked to a 1px rounded border — zero JS, zero layout thrash. - [Pure CSS 3D Rotating Cube (cube)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/cube.md): Six translucent faces positioned via rotate + translateZ(half-size) into a true 3D cube spinning smoothly on a single CSS @keyframes loop — zero JS, zero WebGL. - [True Z-Axis Depth Card (depth)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/depth.md): Places card layers at distinct translateZ elevations so real browser perspective creates natural parallax when tilted — zero manual JS offset math. - [Liquid Glass Material Base (glass-base)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/glass-base.md): Low-blur high-saturation translucent surface with continuous 1.5px diagonal specular rim and inner sheen — looks solid even without JS. - [3D Holographic Foil Card (holo-card)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/holo-card.md): Pointer-driven 3D tilt synchronized with a color-dodge rainbow diffraction grating, overlay specular glare, and translateZ(24px) embossed content. - [Liquid Glass Edge Refraction (refraction)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/refraction.md): Real optical edge bending using analytical rounded-bevel normals and Snell's Law refraction (IOR 1.52) encoded into an SVG feDisplacementMap + backdrop-filter, with geometry-pooled shared filters. - [WebGL Liquid Silk Aurora (shader-aurora)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shader-aurora.md): Native WebGL fullscreen-triangle 2D Simplex Noise domain-warping FBM aurora with subtle pointer fluid ripples, DPR 1.5 cap, offscreen halt, and CSS gradient fallback. - [WebGL AI Energy Orb (shader-orb)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shader-orb.md): Noise-perturbed SDF sphere with cubic Fresnel rim and soft outer glow supporting exponentially smoothed idle / listening / thinking energy states on transparent canvas. - [WebGL 3D Raymarched Chrome Torus (shader-torus)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shader-torus.md): Zero-mesh 44-step SDF raymarching sculpting a twisted liquid-chrome torus with central-difference normals, iridescent Fresnel sheen, and damped pointer 3D rotation. - [3D Fibonacci Dot Sphere (sphere)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/sphere.md): Distributes 120–150 CSS dots evenly across a true 3D sphere using golden-angle Fibonacci lattice math (zero polar clumping) on a smooth preserve-3d spin. - [Pointer Spotlight & Border Glow (spotlight)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/spotlight.md): Smooth lerp-tracked radial spotlight and 1px border illumination on dark cards without touching transform, composing conflict-free with tilt or scale. - [3D Card Tilt & Glare (tilt)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/tilt.md): Damped desktop pointer tilt coupled with directional specular glare that halts its rAF loop immediately once settled and disables cleanly on coarse touch screens. ### Rhythm / 节奏 (14) - [AI Token Stream & Smart Auto-Scroll (ai-stream)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/ai-stream.md): Soft 220ms blur-to-crisp reveal for incoming AI chunks without breaking text selection, paired with smart scroll-lock that yields the instant a user scrolls up and re-locks near the bottom. - [3D Isometric Data Bars (bar-3d)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/bar-3d.md): True 3-face preserve-3d solid isometric bars with stepped lighting across top/front/side faces, 280ms-capped stagger entry, and zero-delay smooth height updates. - [Data Bar Scale Growth (bar-grow)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/bar-grow.md): Compositor-only scaleX/scaleY bar growth on viewport entry with 320ms capped stagger; live data updates morph in-place without resetting to zero. - [Wave Bounce Typography (bounce-text)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/bounce-text.md): Splits headlines into CJK characters and Latin words once on mount, rippling a crisp 32ms staggered wave bounce on hover or trigger. - [Number Count-Up & Odometer (count-up)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/count-up.md): Two zero-dep modes: smooth rAF formatted count-up for single hero KPIs, and CSS translateY digit-column odometer for dozens of simultaneous live metrics. - [Viewport Staggered Reveal (enter)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/enter.md): IntersectionObserver-driven 16px rise + fade with 70ms stagger capped so long lists never feel sluggish; zero scroll listeners. - [3D Split-Flap Mechanical Clock (flip-clock)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/flip-clock.md): Airport departure board / Braun split-flap digits: 4-layer hinged halves fold down in two 90° relays with mid-fold hinge darkening, animating only changed digits. - [Cyber Glitch Typography (glitch)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/glitch.md): Pure CSS ::before/::after cyan-magenta chromatic offset and clip-path slices that stay 100% readable most of the cycle and burst briefly via steps(1). - [Live Rolling Number Flow (number-flow)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/number-flow.md): Right-aligned digit-keyed slot roller for live prices, balances, and counters — only changed digits roll smoothly with tabular-nums stability and full screen-reader isolation. - [3D Orbital Satellites (orbit)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/orbit.md): Pure CSS counter-rotating 3D orbital badges (rotateY(a) → translateZ(r) → rotateY(-a)) so orbiting icons always stay upright facing the viewer. - [Cyber Text Scramble Decode (scramble)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/scramble.md): Deterministic left-to-right glyph decoding from noise to final copy by updating textContent only — zero DOM thrash, CJK-safe, and width-stable. - [WebGL 3D DNA Double Helix (shader-dna)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/shader-dna.md): Single gl.POINTS draw call rendering 700+ static-VBO double-helix strand and base-pair particles with GPU 3D rotation, pointer tilt, additive glow, and depth bokeh. - [SVG Sparkline Draw-In (sparkline-draw)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/sparkline-draw.md): Pure geometry generator producing a minimal SVG trendline and gradient fill that strokes left-to-right over 520ms with staggered area fade and terminal dot pop. - [Split Word / Char Reveal (split)](https://wangjian-damon.github.io/motion-kit/.agents/skills/motion-kit-apply/references/effects/split.md): Splits headings into words or CJK characters once on mount and cascades their entrance purely via CSS transition-delay — zero per-frame JS work.