Now In Code
Get access

Liquid Lens Tab Bar with Expanding Action Menu

Switching tabs turns the grey selection into a transparent lens whose leading edge overshoots on a spring and bulges the bar, with dispersion on its icon. The green plus blurs the screen, rotates to a cross and raises an icon menu.

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

Agent prompt

Add the Now In Code component "liquid-lens-tab-bar-with-expanding" to this project.

The full source is attached at the end of this prompt. Put the files under components/liquid-lens-tab-bar-with-expanding/, 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
20 Nov 2026
License
Unlimited commercial projects
Original design
@0xIkki 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

A floating two-tab bar with Home and Spend, in the style of a glass system tab bar. The selected tab sits under a grey block; switching makes that block turn into a clear lens that slides across, and a liquid bump pushes out of the bar when the lens hits an end. A green plus button next to the bar enlarges when pressed. On release the screen blurs and darkens and an action menu pops up, with three items on the home page and four on the second-level page. Pushing a second-level page collapses the bar into a single round Home button, and tapping that button navigates back and expands the bar again. A demo replay and an interactive mode are both included.

How it's built

A shared JavaScript core holds layout, colours, timing constants, an event state machine and the per-frame display model, and both the web preview and the React Native component only map it. Rendering uses react-native-svg for the bar, lens, bump and menu icons, plus expo-blur for the dimming layer. Menu icons are redrawn as vector shapes rather than images. The collapse and expand is a custom animation of the bar's width and content, written because the system tab bar does not allow animating that change. A requestAnimationFrame loop supplies time.

Good for

  • A bottom navigation bar that collapses when a detail page is pushed
  • Tab bars with a floating primary action that opens a quick menu
  • Custom navigation chrome for apps that need more than the stock tab bar offers

Dependencies

react-native-svgexpo-blurreact-native

Tags

Blur TransitionButtonCrossfadeFintech and WalletIconLight ModeLiquid GlassMenuMinimalMorphingPress FeedbackSpring PhysicsState TransitionTab Bar

Related