Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

animate-ui

БесплатноЗапускает вложенные скриптыНе проверен

Animate React and Vue components with Animate UI (Motion-based primitives for Radix UI, Base UI, React Aria and reka-ui). For shadcn/ui or shadcn-vue…

imskyleenот imskyleen★ 5 194 звезды на GitHub

Об этом скилле

Animate UI

Animate UI animates the primitives components are built on. Its package, @animate-ui/react, ships each Radix UI, Base UI and React Aria primitive with exactly its library's API and Motion inside, so swapping the import is the whole change. In Vue, @animate-ui/vue does the same for reka-ui (shadcn-vue's primitives), with Motion for Vue (motion-v).

Its motion is springy and alive, but coherent: nearly everything moves on a spring, each motion role has one value (the tokens), and tweens pick their curve by what the element does. It borrows Emil Kowalski's practical rules (trigger-anchored origins, ease-out for what enters and leaves, press feedback, a light blur to bridge swaps; see NOTICE.md) without his strictness: springs may overshoot a little, popups can start from 0.7, and the keyboard animates like the pointer.

1. Pick the path

The request is about… Do this
A Vue or Nuxt project (shadcn-vue, reka-ui, .vue files) references/vue.md, then the path
A shadcn/ui component (the project has components.json) A. Run the CLI
A component hand-built on Radix UI, Base UI or React Aria B. Swap the import
Custom, plain markup, another library, or a primitive Animate UI doesn't cover C. Animate it with the rules
An Animate UI v1 project (components/animate-ui/... files) references/migrate.md
An app already on Animate UI: faster, slower, calmer § Pace
Reviewing existing motion, finding slow or janky animations references/review.md
One rule to fix in existing motion (reduced motion, a loop) C, step 8 and that rule only
An animation to reproduce: a link, a video, a GIF, a CSS or JS snippet references/reproduce.md
A feel in words ("snappier", "plus doux", "bouncy") or CSS for a token references/feel.md
An interaction by name: a loading button, a list, a swipe, a banner… C, from references/interactions/
An icon to animate, from any library or SVG references/icons.md

Before writing motion by hand, check references/catalog.md: entrances, scroll reveals, counters, text effects, buttons, backgrounds and icons already ship, and using one beats rebuilding it.

2. Install

Paths A, B and C import @animate-ui/react and motion (C only when it writes Motion code; a CSS or Tailwind-only request adds no package); add them with the project's package manager, read from its lockfile: pnpm-lock.yaml → pnpm add, yarn.lock → yarn add, bun.lock/bun.lockb → bun add, otherwise npm install. Run the CLI the same way (pnpm dlx, yarn dlx, bun x, npx; the commands below use pnpm). The primitive library the components already use (radix-ui, @base-ui/react, react-aria-components) stays installed: @animate-ui/react builds on it. Neither the CLI nor an import swap installs anything. animate warns when @animate-ui/react is neither in package.json nor in node_modules; migrate warns when a package it needs (@base-ui/react) isn't in package.json. Where installing isn't possible, add the entries to package.json's dependencies by hand and give the install command in the output (its other peer dependencies are optional): "@animate-ui/react": "^2.0.0" and "motion": "^14.0.0" (the version @animate-ui/react needs; an existing motion entry that allows 14 stays as it is, "latest" and "*" included).

Tailwind's version matters in two places (centering classes beside Motion's transform, and whether hover: is gated to fine pointers): tailwindcss 4 in package.json or @import "tailwindcss" in the CSS is v4; a tailwind.config.* with tailwindcss 3 is v3; class syntax only v4 has (bare data-open: variants, (--var) values like h-(--x)) means v4 too. When nothing tells, take the form that works on both: margins for centering (inset-0 m-auto h-fit, a wrapper that already centers stays), [@media(hover:hover)_and_(pointer:fine)]:hover: for hover, and a hover border with an explicit color (a bare border is gray in v3, the text color in v4).

3. Gate: how much motion

The gate (§ Gate, under C) decides how much a component moves, and when to stop:

  • An explicit request is always honored. Asked to animate something, animate it: the gate only picks the form, the shortest one when the component is used all day (a command palette on ⌘K gets a quick fade and slight s
Полный SKILL.md на GitHub

Установить animate-ui в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

NOTICE.mdreferences/base-libraries.mdreferences/catalog.mdreferences/feel.mdreferences/icons.mdreferences/interactions/README.mdreferences/interactions/banner.mdreferences/interactions/count-badge.mdreferences/interactions/expanding-card.mdreferences/interactions/field-error.mdreferences/interactions/filter-grid.mdreferences/interactions/form-steps.mdreferences/interactions/list.mdreferences/interactions/reorder.mdreferences/interactions/skeleton.mdreferences/interactions/status-button.mdreferences/interactions/swipe-row.mdreferences/migrate.mdreferences/recipes/README.mdreferences/recipes/card.mdreferences/recipes/css-driven.mdreferences/recipes/disclosure.mdreferences/recipes/indicator.mdreferences/recipes/menu.mdreferences/recipes/modal.mdreferences/recipes/overlay.mdreferences/recipes/page.mdreferences/recipes/palette.mdreferences/recipes/press.mdreferences/recipes/route.mdreferences/recipes/sheet.mdreferences/recipes/steps.mdreferences/recipes/swap.mdreferences/recipes/toast.mdreferences/reproduce.mdreferences/review.mdreferences/rules.mdreferences/tokens.mdreferences/vue.mdscripts/css-timing.mjs

FAQ

Что делает скилл animate-ui?

Animate React and Vue components with Animate UI (Motion-based primitives for Radix UI, Base UI, React Aria and reka-ui). For shadcn/ui or shadcn-vue components, runs the `@animate-ui/cli` codemod that swaps their primitives for Animate UI's; for components built directly on those libraries, swaps the import to `@animate-ui/react` or `@animate-ui/vue`; for anything else (custom components, plain markup), applies Animate UI's motion rules, tokens (springs, curves, scales, blur) and recipes with Motion. Also reviews existing motion with the `audit` command, migrates Animate UI v1 projects, and turns any icon (Lucide, Hugeicons, Tabler, a custom SVG…) into an animated icon compatible with `AnimateIcon`. Use when asked to animate a component, make shadcn "animated", add enter/exit, press or swap animations, animate page transitions, set up Animate UI in a React, Vue or Nuxt project, animate an icon, change the animation pace, review whether motion follows Animate UI's rules, or find slow and janky animations.

Как установить скилл animate-ui?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл animate-ui запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить animate-ui с