Now In Code
Get access

Security Toast and Currency Picker

After a sheet closes, a white pill toast drops from the status bar and settles with a small overshoot. Receive screens list accounts with stacked round flag and chain icons, and a long currency list has a bottom search pill that filters it.

Inspired by a design by @0xDani on XRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "security-toast-currency-picker" to this project.

The full source is attached at the end of this prompt. Put the files under components/security-toast-currency-picker/, 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 ===
Pro piece. The prompt includes the full source.Get access

Details

Platforms
iOS, Android
Requires
Expo SDK 54+
Access
Pro
Updated
23 Oct 2026
License
Unlimited commercial projects
Original design
@0xDani on X

Are you the designer? Ask us to change or remove this.

CLI and MCP server Coming soon

Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs

What it does

Three separate dark screens from a money app. The security screen has a card of settings with toggle switches. Flipping one plays a confirmation toast that drops from the top with a small overshoot while a dim layer fades out, and its top edge fades under the status bar. The receive screen lists bank accounts and wallet addresses with overlapping flag and network icons in each row. The currency screen is a long list of flag rows, scrolled to the bottom, with a search pill at the base that filters the list as you type.

How it's built

A shared JavaScript core stores sizes, colors, data and the toast timeline, and the React Native component renders it with Views, react-native-svg for icons and flags, expo-linear-gradient for the fading edge, a ScrollView and a TextInput for filtering. The toast is two eased segments rather than a spring, driven by a requestAnimationFrame loop, so it needs no gesture or animation library. System icons are hand-written SVG paths. There is no mask view; the fade is a gradient overlay that follows the dim layer.

Good for

  • A settings screen where toggles give feedback through a toast
  • A currency or country picker with a pinned search field
  • Account and receiving-address lists in a wallet or banking app

Dependencies

react-native-svgexpo-linear-gradientreact-native

Tags

AvatarCardCrossfadeDark ModeFintech and WalletHome ScreenIconListMinimalMorphingNotificationSearch BarSpring PhysicsState TransitionToggle Switch

Related