shadcn React Native: Copy Code and Free Components
For shadcn React Native, start with the copy-source idea: add editable components to your app and adapt them locally. shadcn/ui itself targets the web; React Native needs native components. React Native Reusables offers shadcn-inspired controls, and React Native Primitives supplies lower-level building blocks. Native Animation Base provides free MIT everyday controls with a shared theme for Expo. The wider Native Animation catalog offers individual animated interactions under a separate license. Neither is an official shadcn product.
When to choose each format
| Need | Choose | Check before adopting |
|---|---|---|
| Consistent everyday controls across an app | A complete UI kit, or Base when its controls fit your screen | Component coverage, accessibility, platform behavior, and the upgrade model |
| A specific animated interaction | An interaction catalog such as Native Animation | The piece’s props, dependencies, callbacks, and work needed to match your theme |
| Standard controls plus a distinctive moment | A UI kit alongside selected catalog pieces | Shared fonts, colors, spacing, gesture setup, and focus behavior |
Three free pieces to try
These selected examples are free in the published catalog. Each published piece is reviewed on physical iPhone and Android devices with Expo Go before release. Use the CLI with an account, or copy the free source from our public repository without signing in, under the same license.
- Spring Toggle — Start with an interruptible on/off interaction. Copy source
- Drawn Checkbox — Add a drawn checkmark with a small public API. Copy source
- Toast Stack — Try stacked feedback and its documented host callbacks. Copy source
FreeSpring Toggle
A draggable toggle with a stretching, spring-driven thumb, with configurable size, off color, glow color, and thumb icon.
FreeDrawn Checkbox
A checkbox with a drawn mark and animated label strike-through, with configurable label, font, fill color, and size.
FreeToast Stack
A notification stack with depth, arrival glows, and swipe dismissal, with configurable status colors, duration, visible count, and fonts.
Common questions
- Does Native Animation replace a complete UI kit?
- Base provides editable everyday controls and a shared theme. The broader catalog supplies individual interactions. You still connect navigation, data, authentication, and any controls your app needs beyond the published collection.
- Can I use a catalog piece with my existing components?
- Yes. Match its fonts and colors to your theme, connect its callbacks, and check its dependencies. Start with one of the free examples above and check the piece README before integrating it.
What copying the code means
Every piece is a self-contained folder with TypeScript source, any required assets, and a README that documents the public props. After you add it, the folder lives in your app. Base is MIT; other catalog pieces use the Native Animation License. There is no runtime dependency on Native Animation, nothing to keep in sync, and no wrapper to fight when you need a different timing curve, a new color, or a changed layout.
The animations are built on libraries you probably already use in an Expo app: Reanimated for UI-thread motion, Gesture Handler for touch, and, where a piece needs them, Skia, Expo Image, Expo Blur, or Expo Linear Gradient. The CLI installs any missing dependency with the versions your Expo SDK expects.
License for free and paid source
Base components are free forever under MIT, including commercial use. Other free and paid catalog pieces use the Native Animation License. It permits modification and use in unlimited personal, commercial, and client apps, including shipping compiled apps. It restricts source redistribution, public source repositories, resale as a library or template, and competing products. The license is per developer; teams need a license for each developer who works with the code. Read the full terms before adopting a piece.
Compare the license of each UI kit or primitive library separately. Similar installation workflows do not imply identical permissions or shared ownership.
How npx nativeanimation add works
Add Base without an account. For other catalog pieces, sign in once with npx nativeanimation login. Then run npx nativeanimation add <id> from the root of your Expo project. The CLI checks access where required, writes the folder into your components directory (configurable with --path or a nativeanimation.json file), and installs dependencies. Use --dry-run to preview the changes first. The CLI reference lists every option, and the getting started guide walks through a first install.
Copying code versus installing a library
- Control: you can change anything, including internals, without waiting for a release or patching node_modules.
- Bundle: you ship only the pieces you added, not a package full of components you never render.
- Upgrades: the trade-off. A copied piece does not update itself, so you decide when to re-add a newer version with
--overwrite. - Fit: a library suits generic, stable controls. Copying suits animations, which almost always need tuning to match a product.
Browse by type
- React Native Skia Examples for Expo
- React Native Carousel Examples for Expo
- React Native Value Selectors
- React Native Button Animations
- React Native Onboarding Animations
- React Native Loading Animation Examples
- React Native Liquid Glass Animations
- React Native Chart Animations
- React Native Micro-interactions
- React Native Halloween Animations
- React Native Black Friday and Sale Animations
- React Native Year in Review Animations
- React Native Holiday Animations
- Step-by-step guides