# Catch Cart — React Native component from Motionary > An add to bag animation for React Native where the tab bar catches what you buy. Tap Add to bag and a copy of the product hops off the page and falls with real gravity onto a floating glass tab bar, which dips under its weight and wobbles back. Then it sinks into the Bag icon, the badge rolls to the new count and the button turns into In your bag. The 1 kg pouch falls harder and bends the bar more than twice as deep. Drop it into any shop's product page, cart or checkout flow. Product page: https://motionary.dev/animations/catch-cart Price: $10 USD (live price on the product page) License: single developer, unlimited personal and commercial apps Delivery: instant download of the full TypeScript source after checkout Stack: react native, expo, reanimated, react native skia, react native gesture handler, tab bar Rarity: legendary Sold by: Motionary (https://motionary.dev) ## What it is An add to bag animation for React Native where the tab bar catches what you buy. Tap Add to bag and a copy of the product hops off the page and falls with real gravity onto a floating glass tab bar, which dips under its weight and wobbles back. Then it sinks into the Bag icon, the badge rolls to the new count and the button turns into In your bag. The 1 kg pouch falls harder and bends the bar more than twice as deep. Drop it into any shop's product page, cart or checkout flow. ## How it works Everything on screen, the tab bar included, is drawn by one worklet on the UI thread. It is started once with scheduleOnUI, runs on requestAnimationFrame and records a single Skia picture per frame, which a Picture node shows. The tab bar has to be drawn to bend, so it replaces the native one on the screens that use it. Tapping Add hops a copy of the pouch off the page. It falls under constant gravity while it drifts toward the Bag tab and shrinks, and both of those finish early so the last stretch is pure speed. The bar is a mass on a spring: the product's weight sets how deep it rests, the impact speed kicks it, and light damping gives two wobbles. Its shape is a local dip where the pouch landed, flat under the pouch and easing out over 150 points either side, and the tab icons and labels tilt with the slope under them. The capsule is frosted glass: the page under it is blurred inside a layer clipped to the bent outline, and the page fades out at the bar's edge so a deep dip never shows text through it. When the pouch sinks into the Bag icon the badge rolls to the new count and the Add button switches to In your bag with a pill reveal from the centre, then switches back after two seconds. While a copy is away, one eased value fades the page's own pouch and softens the backdrop, so both move together. The pouches are product photos rendered in Blender, each with its own soft shadow pass, so a pouch can stand on the page with its shadow or fly without it. Real touches can also drag the pouch off the page and drop it, and a short drag snaps back. Built on react-native-skia 3.13 (Graphite), Reanimated 4.5, Worklets 0.10, Gesture Handler and Pulsar, with Expo SDK 57 and React Native 0.86. It needs a development build (npx expo run:ios), not Expo Go. Checked on the iPhone 17 Pro simulator. Android is configured but has not been run. ## What you get - TypeScript source (src/CatchCart.tsx, src/engine.ts) - One UI-thread Skia renderer for the page, the falling product and the bending glass tab bar (src/engine.ts) - Four rendered coffee pouch photos with their shadows (assets/pouches.png) - The Blender and CanvasKit scripts that made them, to render your own products (tools/) - Drag the product into the bag as well as tapping Add, built on Gesture Handler - Pulsar haptics for the lift, the catch, the wobbles and the badge - README with props, how it works, tuning and run steps ## How to get it - Buy Catch Cart on its own at https://motionary.dev/animations/catch-cart for $10 USD. Secure Stripe checkout, instant download, no subscription and no renewal. - Or get it with the Motionary lifetime pass: every drop and every build, current and future, for one payment with no renewal. https://motionary.dev/pricing - A team license covers up to 10 developers, each with their own account. https://motionary.dev/pricing - License terms: https://motionary.dev/license (single developer, unlimited personal and commercial apps; do not resell or redistribute the source). - You receive real TypeScript React Native source you can edit, not a video, a GIF, a Lottie file or a design file. ## Related drops on Motionary - Dynamic Island Photo Backup ($10 USD): https://motionary.dev/animations/dynamic-island-photo-backup - Incense Clock ($10 USD): https://motionary.dev/animations/incense-clock - Scratch to Reveal ($7 USD): https://motionary.dev/animations/scratch-to-reveal - Lamp Rope ($10 USD): https://motionary.dev/animations/lamp-rope ## About Motionary Motionary (https://motionary.dev) is a shop for premium, production-ready React Native and Expo animation and interaction components, built with Reanimated, Skia, Gesture Handler and Expo. Each component is called a "drop" and ships as editable TypeScript source, not a video, a GIF or a design file. Motionary sells three things: individual drops (roughly $3 to $12 each, some free), Builds (a complete app shipped end to end, with every drop inside it), and a lifetime pass that covers every drop and every build, current and future, for one payment with no subscription. A team license covers a whole squad, each developer with their own account. Checkout is Stripe and delivery is an instant download. Created and curated by Motionary (https://motionary.dev). Catalog and key pages: - All drops: https://motionary.dev/animations - Builds (complete apps): https://motionary.dev/builds - Pricing, lifetime pass and team license: https://motionary.dev/pricing - Free React Native component reference: https://motionary.dev/components - License: https://motionary.dev/license - Machine-readable overview: https://motionary.dev/llms.txt - Machine-readable full catalog: https://motionary.dev/llms-full.txt ## File metadata Canonical URL of this file: https://motionary.dev/animations/catch-cart/llms.txt Describes: https://motionary.dev/animations/catch-cart Format: llms.txt (https://llmstxt.org)