Skillpedia
الواجهات (UI/UX)48k · #6039

ui-motion

ما الذي تفعله

تضيف هذه المهارة رسومًا متحركة إلى العناصر البصرية في الموقع أو التطبيق. يمكنك اختيار أساليب جاهزة مثل «spring» أو «silk»، أو حركات محددة مثل «flip» أو «blur».

متى تستخدمها

  • ✓عندما تريد أن يبدو الزر «نابضًا» عند النقر عليه.
  • ✓لجعل القائمة تظهر بسلاسة وأناقة.
  • ✓عندما تعرض إشعارًا يجب أن يظهر بسرعة بشكل «منبثق».

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-motion/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-motion/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“اجعل زر «Buy» يبدو كأنه يقفز عند النقر عليه.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تختار المهارة أسلوب رسوم متحركة (مثل «spring» للحركة النابضة أو «silk» للحركة الناعمة) أو حركة محددة (مثل «flip» لمفتاح التبديل). ثم تطبق هذه الرسوم على العنصر الذي حددته.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

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

…

الأسئلة الشائعة

ما هي «StyleSeeds»؟

هي أساليب رسوم متحركة لها شخصيات مختلفة، مثل «Spring» للحيوية أو «Silk» للنعومة.

هل يمكنني استخدامها لأي رسوم متحركة؟

لا، هذه المهارة مخصصة للرسوم المتحركة في كود React، ولن تعمل مع الرسوم المتحركة بـCSS فقط أو بلغات أخرى.

ماذا لو طلبت رسومًا متحركة غير موجودة؟

ستحاول المهارة إيجاد أقرب رسوم متحركة مطابقة، أو تقترح بديلًا.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
48k
الترتيب
#6039
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة