Rainbow Scan Band Receipt Dissolve
A receipt on a dark desk gets corner brackets. On capture a white flash fades the viewfinder and a pastel rainbow band sweeps down, turning scanned areas into black text on white and key fields into dark pills. A swirl then opens a hole onto an expense card.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "rainbow-scan-band-receipt-dissolve" to this project. The full source is attached at the end of this prompt. Put the files under components/rainbow-scan-band-receipt-dissolve/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Source files are attached here for paid plans ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 23 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @Anuar_DesignX on X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
An expense-app receipt scan that runs for about six seconds in one take. A camera view shows a thermal receipt lying slightly in perspective on a dark desk, with corner brackets, a detected hint, a shutter and a thumbnail. Pressing the shutter fires a white flash and the camera interface fades. A rainbow scan band then travels down the receipt, slowing near the date and total, and everything above it becomes a clean enhanced copy: black text on white, with the store name, date, time and total in black capsules. Glyphs under the band stretch into colored vertical streaks and a magenta glow surrounds the paper. A New expense page fades in, and the receipt twists into a vortex and dissolves through an iridescent hole.
How it's built
A single SkSL runtime shader on a Skia canvas does the scan band, text enhancement, streaks and dissolve, with the scene drawn by a shared JavaScript core. Reanimated shared values drive the clock, while the interface and the receipt are drawn through the same pipeline so web and native match. The streaks are pre-baked at a fixed length.
Good for
- Receipt, document or ID scanning flows in finance and expense apps
- A processing moment that shows a before and after in one pass
- Camera capture screens that need a polished handoff into a form
Dependencies
@shopify/react-native-skiareact-native-reanimatedreact-native