Docs
How to use a piece in your app, what the license allows, and how billing works.
Getting started#
Now In Code is a library of UI designs and motion people shared on X, RedNote and Pinterest, rebuilt from scratch as working code. Each piece comes in two versions: React Native for Expo, and plain web.
What you get #
- The Expo version: TypeScript components, with the timing and easing we measured from the original written as constants at the top of the file.
- The web version: HTML, CSS and JavaScript that matches the Expo version frame by frame.
- A list of the dependencies the piece needs, on its page.
- A ready-made prompt for your coding agent, with the full source attached.
The Free plan includes 10 complete pieces and previews of everything. Paid plans unlock the whole library and every piece we add later.
Use a piece with your coding agent #
- Open the piece's page and pick a prompt. Some pieces offer Adapt to my app, which takes only the technique, and Use as is, which adds the whole piece.
- Click Copy prompt. The copied text contains the instructions and every source file for the piece.
- Paste it into Claude Code, Cursor, Codex or any agent that accepts a long message, from your project's root.
- Review the change. The prompt asks the agent to list the files it touched and any measured values it moved.
Add the Now In Code component "hold-to-confirm-button" to this project. The full source is attached at the end of this prompt. Put the files under components/hold-to-confirm-button/, install the dependencies with npx expo install, and render it on a route I can open. … === components/hold-to-confirm-button/HoldToConfirmButton.tsx === import Animated, { useSharedValue, withTiming } from "react-native-reanimated"; …
Copy the files yourself #
You don't need an agent. On the piece's page, open the Code tab, copy each file into your project, install the dependencies the page lists, then import the component.
components/
hold-to-confirm-button/
HoldToConfirmButton.tsx the component
index.ts re-exportimport { HoldToConfirmButton } from "@/components/hold-to-confirm-button"; export default function Screen() { return <HoldToConfirmButton label="Hold to send" onConfirm={send} />; }
Using a piece in Expo#
Requirements #
Every piece is built and tested on Expo SDK 54 or newer. Beyond that, each piece uses a few of the libraries below. Each piece lists its dependencies on its page.
| Package | Used for |
|---|---|
| Expo SDK 54+ | All pieces |
react-native-reanimated | Almost every piece. Animations and gestures run on the UI thread. |
react-native-svg | Arcs, rings, icons and charts |
@shopify/react-native-skia | Shaders, particles and effects drawn on a canvas |
expo-blur | Frosted bars, sheets and progressive blur, where used |
Install dependencies #
Use npx expo install rather than npm install, so you get the versions that match your SDK. Install only what the piece lists.
$ npx expo install react-native-reanimated react-native-svgReanimated needs its Babel plugin. babel-preset-expo adds it for you. If your project has its own babel.config.js, keep babel-preset-expo in its presets.
Run it #
$ npx expo start --clearThese libraries are included in Expo Go, so you can try most pieces without a development build. On Android, expo-blur shows a translucent fallback unless you turn on its experimental blur method; pieces that use blur say what to expect.
Web version#
The web version of each piece is plain HTML, CSS and JavaScript. There is no framework and no build step: open the HTML file in a browser and it runs.
To use it in React, Next.js, Vue or Svelte, give the files to your coding agent and ask it to turn them into a component for your stack. The timing values are the same constants as in the Expo version, so the motion matches.
Adapting a piece#
Every piece has two kinds of content. Knowing which is which is most of the work of adapting one.
| Part | What it is |
|---|---|
| Reusable part | The component, its gesture and animation logic, and the measured values at the top of the file. Keep these. |
| Demo content | Sample copy, images, avatars, colours, fonts and the screen around the component. Replace these with yours. |
Some pieces have a Show what matters button on the preview that marks the technique and the demo content. Those pieces also offer the Adapt to my app prompt, which tells your agent to bring over only the technique and fit it to your layout.
- Pass your data in through props rather than editing the demo arrays.
- Change the timing constants, not the animation code, if you want it faster or slower.
- Keep values that drive animation on the UI thread (shared values), not in React state.
License#
A plain-language summary:
- You can use any piece in unlimited personal and commercial apps you build, including client work, and change it however you like.
- You can't resell or redistribute the source, on its own or as part of a library, UI kit, template or starter.
- Pieces are based on public designs, credited to their original authors on each page. The code, artwork and copy are our own rebuild. Designers can ask us to change or remove a piece.
One license covers one person. This summary is not the full license text.
Account and billing#
| Plan | Price | What it includes |
|---|---|---|
| Free | $0 | 10 fixed pieces, previews of everything |
| Quarterly | $45 every 3 months | The whole library and new pieces every week |
| Yearly | $129 per year | Same as quarterly, $51 less over a year |
| Lifetime | $249 once | Everything, including pieces we add later |
There is no monthly plan. Payments go through Stripe. You sign in with GitHub, Google or a link we email you.
To change your card, download invoices or cancel, open Account and choose Manage billing. That opens the Stripe customer portal. If you cancel, you keep access until the end of the period you paid for, and code you already copied keeps working.
Upgrading. You can move from quarterly to yearly, or from either to lifetime, at any time. The change starts right away and the unused part of your current plan is credited toward the new price.
Refunds. If you change your mind within 14 days of your first payment and haven't copied any Pro source, we refund you in full. Otherwise write to support@nowincode.com and we'll sort it out.
CLI and MCP#
Coming soon Neither is available yet.
- CLI. Add a piece's files to your project from the terminal.
- MCP server. Let your coding agent search the library and fetch a piece by what it does.
Until then, Copy prompt on each piece's page does the same job: it hands your agent the instructions and the full source in one paste.
FAQ#
Do I need a coding agent?
No. The Code tab on each piece has every file. Copy them into your project and install the listed dependencies.
Which coding agents work with Copy prompt?
Any agent you can paste text into: Claude Code, Cursor, Codex, Windsurf, GitHub Copilot and others. The prompt is plain text.
Does it work without Expo?
Pieces are built and tested on Expo. Most of the libraries they use also work in a bare React Native app, but you'll install and configure them yourself.
Is the code TypeScript?
The Expo versions are TypeScript. The web versions are plain JavaScript.
What if a piece breaks after I upgrade Expo?
Use Report an issue on the piece's page. When we fix it, the page and its prompt are updated, so you can copy it again.
Can I ask for a design to be built?
Yes. Use Submit a design on the Latest page. Submissions go to our team only and aren't shown publicly. We build the best ones and email you when yours ships.