ui-motion
Skill này làm gì
Công cụ này thêm hoạt ảnh cho các phần tử hình ảnh trên website hoặc ứng dụng. Bạn có thể chọn từ các kiểu có sẵn như “spring” hoặc “silk”, hoặc dùng các chuyển động cụ thể như “flip” hoặc “blur”.
Khi nào nên dùng
- ✓Khi bạn muốn một nút có cảm giác “nảy” hơn khi được nhấn.
- ✓Để một menu xuất hiện mượt mà và thanh lịch.
- ✓Khi hiển thị một thông báo cần “bật” lên nhanh chóng.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-motion/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm cho nút “Buy” trông như nhảy lên khi được nhấn.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ chọn một kiểu hoạt ảnh (như “spring” cho chuyển động nảy hoặc “silk” cho chuyển động mượt) hoặc một chuyển động cụ thể (như “flip” cho công tắc). Sau đó, nó áp dụng hoạt ảnh này cho phần tử bạn chỉ định.
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.
Motion Seed Applier
When to Use
Use this skill when you need apply a named StyleSeed motion to a component — either one of the 5 personality seeds (Spring/Silk/Snap/Float/Pulse × entrance/exit/hover/press/layout) or a distinctive keyword move from the motion library (toggle-flip, toggle-curtain, reveal-blur, pop-in, shimmer, …). Translates vibe...
When NOT to use
- For general framer-motion docs or learning → use the framer-motion site
- For non-React motion (CSS-only transitions, GSAP) — this skill targets
motion.XJSX only - For full scroll-linked timelines or parallax — out of scope per DESIGN-LANGUAGE.md Rule 59
- For tweaking the existing FadeIn/FadeUp/Stagger wrappers — edit
engine/components/ui/motion.tsxdirectly
Vibe → Seed mapping
Translate the user's prompt to one of the five seeds before applying. Use this lookup table from engine/motion/index.ts:
| Words the user might say | Seed |
|---|---|
| bouncy, springy, playful, energetic, alive | Spring |
| smooth, silky, fluid, elegant, composed, continuous | Silk |
| snappy, quick, instant, decisive, sharp, precise | Snap |
| floaty, gentle, weightless, dreamy, ambient, drifting | Float |
| rhythmic, punchy, pulsing, heartbeat, beat | Pulse |
| "Toss style", "Arc style" | Spring (per brand default) |
| "Stripe style", "Notion style" | Silk |
| "Linear style", "Raycast style", "Vercel style" | Snap |
If the user says only a brand name, use that brand's default seed from BRAND_DEFAULT_SEED. If the user is explicit about a seed name (spring, silk, etc.), respect it verbatim.
Recommend mode — use-case → motion (when the user describes the moment, not the vibe)
If the user describes what the thing is ("a like button", "a modal", "the loading
state", "items in a feed") rather than a feeling, recommend from the use-case map
(MOTION_BY_USECASE in engine/motion/library.ts, exported from @engine/motion):
| Use case | Reach for | Why |
|---|---|---|
| Primary button / CTA press | spring · press |
tactile, confident — the press should "give" |
| Modal / dialog / sheet enter | silk · entrance |
smooth; never bounce serious/destructive content |
| Dropdown / popover / menu | snap · entrance |
instant, precise — frequent UI shouldn't wait |
| Toast / inline notification | spring · entrance |
small friendly arrival, non-blocking |
| List / feed items appearing | stagger-cascade |
choreograph order, gently |
| Feature / marketing card hover | tilt-3d |
depth/flair OK on content-light marketing |
| Dashboard / data card hover | snap · hover |
a subtle lift only — keep dense UI calm |
| Like / favorite / reaction | like-burst |
a celebratory one-shot; reward the tap |
| Live / online / recording dot | pulse-beat |
looping heartbeat = "alive" |
| Loading / skeleton | shimmer |
calm directional progress |
| Success / confirmation | pop-in |
positive little "done" |
| Toggle / tab / segment switch | toggle-flip |
distinctive, recognizable switch |
| Page / route transition | silk · entrance |
smooth, minimal, get out of the way |
| Number / balance / KPI / price reveal | none | don't animate the payload — it must read instantly |
Two anti-rules override the table (state them if you deviate):
- One seed per product. If the project already uses a seed, match it — don't introduce a second personality.
- Never delay the payload. Don't animate a balance, price, or search result into view; motion is for affordance, not content.
Named motion keywords (distinctive moves)
Seeds set a personality (how a fade/scale feels). The motion library in
engine/motion/library.ts adds distinctive moves — a flip, a curtain wipe, a
morph — each behind a unique keyword. Prefer a keyword when the user wants a
specific, recognizable motion rather than a generic feel.
engine/motion/library.ts (exported as MOTION_LIBRARY / MOTION_BY_KEY from
@engine/motion) is the single source of truth — every keyword carries its
own runnable snippet. Pull the snippet from there; never hand-write the params.
| Keyword | Move | Say it when the user wants… |
|---|---|---|
toggle-flip |
3D Y-axis card flip | a switch/toggle to flip between two faces |
toggle-slide |
slide-stack swap | a value to slide out and the next to slide in |
toggle-morph |
pill ⇄ circle morph | a control to change shape on toggle |
…
Câu hỏi thường gặp
“StyleSeeds” là gì?
Đây là các kiểu hoạt ảnh có “tính cách” riêng, như “Spring” cho năng động hoặc “Silk” cho mượt mà.
Tôi có dùng cái này cho mọi hoạt ảnh không?
Không, công cụ này chỉ dành cho hoạt ảnh trong code React và sẽ không hoạt động với hoạt ảnh chỉ dùng CSS hoặc các ngôn ngữ khác.
Nếu tôi yêu cầu một hoạt ảnh không tồn tại thì sao?
Công cụ sẽ cố tìm hoạt ảnh gần nhất hoặc gợi ý một lựa chọn thay thế.
Chi tiết
Mô tả gốc của tác giả
Apply a named StyleSeed motion to a component — either one of the 5 personality seeds (Spring/Silk/Snap/Float/Pulse × entrance/exit/hover/press/layout) or a distinctive keyword move from the motion library (toggle-flip, toggle-curtain, reveal-blur, pop-in, shimmer, …).
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #6039
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.