# Candle Merge — React Native component from Motionary > A candlestick chart for React Native where changing the timeframe is a merge, not a redraw. Tap 4H and every four 1H candles close up toward the newest one and fuse into a single candle, with the real open, high, low and close, while older candles slide in from the left. Pinch out and each candle splits back into the ones it was made of. A jump across timeframes, 15m to 1D say, is one motion too. The price rolls digit by digit as it ticks, and one finger scrubs the chart. Drop it into any trading, crypto or stocks app. Product page: https://motionary.dev/animations/candle-merge 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, chart Rarity: legendary Sold by: Motionary (https://motionary.dev) ## What it is A candlestick chart for React Native where changing the timeframe is a merge, not a redraw. Tap 4H and every four 1H candles close up toward the newest one and fuse into a single candle, with the real open, high, low and close, while older candles slide in from the left. Pinch out and each candle splits back into the ones it was made of. A jump across timeframes, 15m to 1D say, is one motion too. The price rolls digit by digit as it ticks, and one finger scrubs the chart. Drop it into any trading, crypto or stocks app. ## How it works Everything on screen is drawn by one worklet on the UI thread into a single Skia canvas. One number runs it all: 0 is 1m, 5 is 1W, and anything in between is partway through a merge. The fingers move that number, a spring finishes it, and every frame is drawn from it, which is why a merge can be scrubbed, reversed and chained. The merge is real aggregation. Each timeframe is built from the one below, so a 4H candle is exactly its four 1H candles. During a merge every lower candle sits between its own place and its group's place, and its body and wick stretch toward the candle the group becomes. When they meet they are the same rectangle, so there is no crossfade. The time axis closes up at the same rate as the groups, pinned to the newest candle, so spacing stays even and the chart never shows a gap while older candles fill in from the left. A chip that is not next door is one direct merge: the candles that were on screen are drawn as they are, and everything older comes from the timeframe just below the target, so it stays a few hundred lines however far the jump is. The live trade updates the last candle of all six timeframes at once, so the merge stays true while the price moves. The price, the change and the position value are an odometer: a digit that changes rolls out through one edge of a one-line band while the new one rolls in through the other, and both carry a tint that drains away. Scrubbing snaps a hairline from candle to candle on a quick spring and hands that candle's close and date to the header. Frames are cheap: three cached layers, candles drawn as fat lines with one paint per colour, and a frame where nothing changed is not drawn at all. Fingers are tracked by id from the raw touches, and two of them are a pinch measured from the gap between them. To use your own data, replace the generated market with your candles for each timeframe and call the tick from your feed. 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 at a steady 60 frames a second. Android is configured but has not been run. ## What you get - TypeScript source (src/CandleMerge.tsx, src/engine.ts) - One UI-thread Skia renderer for the whole screen: chart, header, chips, stats and buttons (src/engine.ts) - Six timeframes from 1m to 1W built by real aggregation, with a live price that moves the newest candle of all of them - Pinch to merge and split, chips that merge directly between any two timeframes, and a one-finger scrub that drives the header - Rolling price digits with an up and down tint, drawn in the same canvas - Pulsar haptics for the grip, the tension, the fuse, the split and the scrub - README with props, how it works, how to plug in your own candles and run steps ## How to get it - Buy Candle Merge on its own at https://motionary.dev/animations/candle-merge 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 - Catch Cart ($10 USD): https://motionary.dev/animations/catch-cart - 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 ## 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/candle-merge/llms.txt Describes: https://motionary.dev/animations/candle-merge Format: llms.txt (https://llmstxt.org)