Requirements, installing your first animation and using it in a screen.
Browse 410 published animations in the catalog.
Every animation is a self-contained React Native component. You copy it into your project (the CLI does it for you), and from then on it is your code. Prefer to ask your coding agent? See AI coding agents.
Requirements
| Package | Version |
|---|---|
| Expo SDK | Expo SDK 58 and Expo SDK 57 |
| React Native | 0.88 (New Architecture) |
| react-native-reanimated | 4.7 |
| react-native-worklets | 0.13 |
| react-native-gesture-handler | the version each supported SDK installs |
| @shopify/react-native-skia | 2.14, only for pieces that draw with Skia |
See Compatibility and dependencies for other SDKs and lower-dependency choices, and Quality and testing for our checks and device review.
Each animation page lists its exact dependencies. The CLI installs missing ones with npx expo install, which
picks the versions your SDK supports.
For Native Animation Base, use npx nativeanimation init --base and npx nativeanimation add base-button without an
account. Base is free forever under MIT. The sign-in steps below apply to other catalog pieces, including non-Base free pieces.
-
Sign in for other catalog pieces
npx nativeanimation loginThe CLI shows a short code and opens your browser. Confirm that the code matches and the terminal is linked to your account. The token is stored in your user config folder, never in the project.
-
Add an animation
npx nativeanimation add auto-height-accordionFiles are written to
src/components/<id>/(orcomponents/<id>/when your project has nosrcfolder). Use--pathto choose another folder, or add anativeanimation.jsonfile with{ "componentsPath": "app/ui" }. -
Use it
import { AutoHeightAccordion } from '@/components/auto-height-accordion'; export default function HelpScreen() { return <AutoHeightAccordion items={[{ id: 'shipping', title: 'Shipping', content: 'Ships in two business days.' }]} />; }Every piece takes its content through props (text, images, data) and exposes knobs for colors, timing and intensity. Its README, copied next to the code, documents every prop.
Skia pieces on the web
Pieces that draw with Skia need CanvasKit loaded before they mount on the web. Load it in your web entry point:
import { LoadSkiaWeb } from '@shopify/react-native-skia/lib/module/web';
LoadSkiaWeb().then(() => {
root.render(<App />);
});iOS and Android need nothing extra.
Accessibility
Animations are built to honor the system Reduce Motion setting with a still or cross-fade version, label their controls for screen readers, and offer a tap alternative to their gestures. Each README has an Accessibility section with what that piece does; if one falls short on your device, tell us and we fix it.