Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)101k · #1241

ui-animation

Skill này làm gì

Công cụ này giúp tạo và cải thiện hoạt ảnh giao diện người dùng. Nó có thể phân tích bản ghi hoạt ảnh để tái tạo lại chuyển động và tạo mã cần thiết.

Khi nào nên dùng

  • ✓Khi bạn muốn thêm chuyển động cho một nút bấm hoặc menu.
  • ✓Khi bạn phân tích cách một hoạt ảnh có sẵn hoạt động để tái tạo lại.
  • ✓Khi bạn muốn điều chỉnh tốc độ và độ mượt của một chuyển cảnh trên màn hình.

Liên kết skill

https://github.com/nexu-io/open-design/blob/main/skills/ui-animation/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/nexu-io/open-design/blob/main/skills/ui-animation/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một hoạt ảnh mượt cho nút xuất hiện khi con trỏ chuột di qua.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ phân tích cách các yếu tố chuyển động trên màn hình, bằng cách quan sát bản ghi hoặc dùng các công cụ tích hợp. Nó hiểu vật lý lò xo và đường cong hoạt ảnh để tạo mã làm cho hoạt ảnh xảy ra.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

UI Animation

Open Design execution context

Use this as a functional helper on the user's current interface or accepted brief. Keep the host's task route, current stage, tool availability, and output contract. Planning describes the motion; implementation happens only in the host's authoring stage. Do not add an extra review, recording, rendering, or approval phase when the host disallows it. Reuse the project's existing stack and motion tokens. Companion skills are optional: use them only if installed; otherwise apply the relevant guidance here without inventing a tool invocation. Report measurements only when actually observed; mark visual estimates and checks that could not be performed explicitly.

  • IS: designing, implementing, reviewing, debugging UI motion (springs, gestures, drag, easing, CSS transitions, keyframes, Motion), sweeping an interface for the moments that would genuinely benefit from motion, measuring motion from a recording (extract frames, track, fit curves) to emit code plus a handoff spec, naming a described motion effect (reverse-lookup vocabulary), and gating sparse interface sound.
  • IS NOT: choosing overall visual direction, palettes, or typography (use ui-design Direction mode), auditing a whole page's UI quality (use ui-design Audit mode), or named text-effect specs (use the external animate-text skill where installed).

Reference files

File Read when
references/decision-framework.md Default: deciding whether/why to animate, picking easing character; also the Discovery sweep ("where should this animate")
references/spring-animations.md Spring physics, Motion useSpring, configuring spring params, Apple damping/response values, asymmetric open/close character, interruption mechanics
references/component-patterns.md Buttons, toasts, crossfades, list stagger and removal, hover, step forms, Motion layout morphs and auto height, 3D
references/clip-path-techniques.md clip-path for reveals, tabs, hold-to-delete, comparison sliders
references/gesture-drag.md Drag, swipe-to-dismiss, momentum, pointer capture, velocity handoff, momentum projection, rotary/knob drag, detents, carousel touch-action
references/scroll-animations.md Scroll-triggered reveals, scrubbed/scroll-driven animation (animation-timeline, useScroll), parallax, sticky scrollytelling, and when a scroll animation shouldn't exist
references/performance-deep-dive.md Jank, CSS vs JS, WAAPI, CSS variables trap, Framer Motion caveats
references/debugging-symptoms.md An animation feels off and the cause isn't named: symptom-indexed tables for sluggish, robotic, cheap, jumpy, and misfiring motion
references/svg-animation.md Animating vector art: line drawing (stroke-dashoffset), SVG transform-origin traps, path morphing, shakes, ambient life
references/review-format.md Reviewing animation code: ten standards (each with flag-on-sight triggers), Before/After/Why table, Block/Approve verdict
references/contextual-animations.md Contextual icon swaps, word-level stagger entrances, peripheral de-emphasis, fixed-offset exits
references/transition-recipes.md Installing a CSS transition: container morph, card resize, badge, dropdown and tooltip (with library origin variables), modal (with @starting-style entry), panel and drawer, page slide, icon swap, number pop-in, odometer roll, text swap, success, avatar hover, error shake
references/measurement-guide.md Reverse-engineer: what to measure, eye vs script, reading metrics.json, choosing an ROI
references/curve-fitting.md Reverse-engineer: reading fit_curves.py output, spring vs bezier, judging fit error, asymmetric open/close
references/code-output.md Reverse-engineer: emitting code for CSS, Motion/Framer Motion, SwiftUI, React Native, UIKit

…

Câu hỏi thường gặp

“Easing” và “springs” là gì?

“Easing” là cách hoạt ảnh tăng tốc và giảm tốc (giống xe đang phanh hoặc tăng ga). “Springs” mô phỏng hành vi của lò xo, tạo chuyển động chân thực và sống động hơn.

Tôi có thể dùng cái này cho mọi loại hoạt ảnh không?

Công cụ tập trung vào hoạt ảnh giao diện người dùng (UI), như chuyển cảnh màn hình, chuyển động nút bấm và cử chỉ. Nó không dành cho các hiệu ứng hình ảnh phức tạp như trong phim.

Công cụ có tự tạo mã cho tôi không?

Có, công cụ có thể tạo mã cần thiết để triển khai hoạt ảnh, bằng CSS hoặc các ngôn ngữ lập trình khác dùng trong phát triển web và di động.

Chi tiết

Mô tả gốc của tác giả

Implement, review, and measure UI motion. Reconstruct easing, springs and gestures from a recording using bundled frame extraction, tracking and curve-fitting tools when available.

repo: nexu-io/open-design

Độ phổ biến

Sao GitHub
101k
Vị trí xếp hạng
#1241
Giấy phép
Apache-2.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự