Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

motion-sv

Skill by SikandarJODD

Documents motion-sv, a Svelte 5 port of the Motion animation library, with patterns for animations, gestures, drag and layout transitions. It is for Svelte 5 developers who want Motion-style animations in their components.

  • Score 80
  • 363 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install motion-sv

Built from the published package, never by AI.

git clone --depth 1 https://github.com/SikandarJODD/animations /tmp/animations && mkdir -p ~/.claude/skills && cp -r /tmp/animations ~/.claude/skills/motion-sv

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install motion-sv in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

motion-sv is a Svelte 5 port of the Motion library, formerly Framer Motion. The skill gives an AI assistant documentation and code patterns for using it in Svelte projects. It covers the motion element factory, which renders any HTML element, and it lists supported props such as initial, animate and exit. It also covers gestures, drag and events.

The source states that motion-sv follows the motion-v API structure rather than the React version. It requires Svelte 5 with runes and a package named motion-sv. Layout animations use createLayoutMotion, since Svelte lacks getSnapshotBeforeUpdate. The skill is aimed at developers who want animations, gestures or transitions in Svelte.

Written from the project's SKILL.md and checked against it.

What it can do

  • Motion componentsRender any HTML element with animation props using the motion dot notation.
  • GesturesApply whileHover, whilePress, whileDrag and whileFocus styles to elements.
  • DragConfigure drag, dragConstraints, dragElastic and dragMomentum on elements.
  • Viewport animationsTrigger animations on scroll using whileInView and inViewOptions.
  • AnimatePresenceRun exit animations with sync, wait or popLayout modes.
  • Layout animationsAnimate layout changes using createLayoutMotion and layout.update.with.
  • Reorder listsBuild drag and drop lists with ReorderGroup and ReorderItem.
  • LazyMotionLoad animation features on demand to reduce bundle size.
  • VariantsDefine typed animation variants with the Variants type.

What you need

  • Svelte 5 with runes
  • motion-sv package

Try asking

  • Animate a card in with a fade and scale using motion-sv in Svelte
  • Add a layout animation to a toggle in my Svelte 5 app with motion-sv
  • Make a list in Svelte 5 reorderable by drag and drop with motion-sv

Good to know

  • Requires Svelte 5 with runes
  • Do not use Svelte's transition:fn directive
  • Always pass styles as an object, not as a string
  • Layout animations must use createLayoutMotion

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • .gitignore274 B
  • .npmrc19 B
  • .prettierignore107 B
  • .prettierrc526 B
  • CODE_OF_CONDUCT.md5 KB
Show all 21 files
  • CONTRIBUTING.md2 KB
  • CREATE_COMPONENT_GUIDE.md5 KB
  • LICENSE1 KB
  • README.md2 KB
  • SKILL.md5 KB
  • commands.md937 B
  • components.json449 B
  • fancy-components.json15 KB
  • package.json3 KB
  • pnpm-lock.yaml88 KB
  • pnpm-workspace.yaml31 B
  • registry.json54 KB
  • spell-registry.json15 KB
  • svelte.config.js1 KB
  • tsconfig.json692 B
  • vite.config.ts203 B

Alternatives to motion-sv

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

motion-sv: common questions

Does motion-sv work with Svelte 4?

The source says motion-sv must be used with Svelte 5 and its runes. It does not describe Svelte 4 support.

Is motion-sv the same as Framer Motion?

motion-sv is a Svelte 5 port of Motion, which was formerly called Framer Motion. The source says its API follows motion-v rather than the React version.

How do layout animations work in motion-sv?

Svelte lacks getSnapshotBeforeUpdate, so the source says to use createLayoutMotion, render with layout.div, and wrap state updates with layout.update.with.

How do I install motion-sv?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is motion-sv free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is motion-sv safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to motion-sv?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

motion-sv Install

Add to stack

Loading.