App

Revolut

The example app ships a full stock quote screen in the shape Revolut's has: a headline price that follows the finger, a smoothed intraday line that stops where the session does, a range selector, a candlestick toggle, and native tabs and headers above it all. It is the reference for what the native renderers are for — everything on the screen except the plot itself is ordinary React Native.

The Revolut-style quote screen running on the web, on Android and on iOS, side by side
One screen, three renderers — the web build, Compose on Android, SwiftUI on iOS — in the appearance you are reading this page in.

What it uses

PropTypeDefaultDescription
Chart.Linerevolut-line-chart.tsxThe intraday price: smoothed, glowing, with a dashed baseline rule, an event badge, and a pulsing point at the last reading that useLastReading finds.
Chart.Candlestickrevolut-candlestick-chart.tsxThe same screen switched to OHLC, with the candle width and radius measured off the design and the volume histogram left off.
useChartScrubuse-quote-readout.tsTurns the scrub into the price, the delta and the date above the plot, and back to the resting reading when the finger lifts. No tooltip is drawn by either chart.
geometryquote-chart-overlay.tsxThe reading card and the event badge are React Native views placed over the plot from the geometry the layout phase reports — not something the library draws.
Platform filesrevolut.ios.tsx · revolut.android.tsxOne screen per platform: SwiftUI through @expo/ui on iOS, Compose on Android, sharing the data, the theme and both charts.

The whole screen is in the repository, and apps/example runs it on a device with yarn ios:example or yarn android:example.

A study, not a product. The screen is built to test the library against a design people already know by heart. It uses generated data, and it is not affiliated with or endorsed by Revolut.