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

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.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/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-motion/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

“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.X JSX 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.tsx directly

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):

  1. One seed per product. If the project already uses a seed, match it — don't introduce a second personality.
  2. 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, …).

repo: sickn33/agentic-awesome-skills

Độ 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

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ự