moving-icons

📁 jis3r/skills 📅 4 days ago
3
总安装量
2
周安装量
#58878
全站排名
安装命令
npx skills add https://github.com/jis3r/skills --skill moving-icons

Agent 安装分布

opencode 2
claude-code 2
github-copilot 2
codex 2
kimi-cli 2
gemini-cli 2

Skill 文档

Moving Icons

This skill helps to integrate animated icons into Svelte/SvelteKit apps and consume @jis3r/icons in product UIs.

When to Use This Skill

Use this skill when the user:

  • Asks to add animated icons in a Svelte or SvelteKit interface
  • Mentions @jis3r/icons, movingicons.dev, or “moving icons”
  • Needs install/setup help via npm or shadcn-svelte registry commands
  • Needs icon import and usage help (PascalCase imports, props, theming, sizing)
  • Wants hover/focus/selected-state animation patterns using the animate prop
  • Wants to migrate from @lucide/svelte to animated icons with minimal UI regressions

Workflow

  1. Confirm integration path.
  • npm: install package and import named components.
  • shadcn-svelte registry: add single icons as local component files.
  • direct copy: paste component source from movingicons.dev if needed.
  1. Implement icon usage with stable defaults.
  • Use PascalCase imports from @jis3r/icons.
  • Drive size, color, strokeWidth from app design tokens.
  • Use animate prop for interaction-driven animation.
  1. Add interaction patterns.
  • Simple hover animation for buttons/nav items.
  • Shared hover state wrappers for list/nav rows.
  • Controlled animation for app states (active, selected, unread).
  1. Validate UX and accessibility.
  • Keep icon meaning clear without animation.
  • Respect reduced-motion preferences for repeated/ambient motion.
  • Ensure contrast and stroke visibility at target sizes.

Guardrails

  • Do not suggest editing @jis3r/icons source unless explicitly requested.
  • Prefer consuming exported components over copied raw files.
  • Keep animation purposeful (feedback/affordance), not constant distraction.
  • Use icon names that match Lucide naming conventions.

References

  • references/quickstart.md
  • references/usage-patterns.md
  • references/icon-selection.md
  • references/migration.md