Now In Code
Get access

Morphing Toolbar Plus Quick Menu

Pressing plus scales it up, then it springs back into a cross while the toolbar narrows, grows taller and morphs into a 3x2 menu. Switching tabs turns a white pill into a glass lens with SkSL edge refraction. HTML and React Native Skia share one core.

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

Agent prompt

Add the Now In Code component "morphing-toolbar-plus-quick-menu" to this project.

The full source is attached at the end of this prompt. Put the files under components/morphing-toolbar-plus-quick-menu/, 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.

=== Sign in to attach the source files ===

Details

Platforms
iOS, Android, Web
Requires
Expo SDK 54+
Access
Free
Updated
24 Oct 2026
License
Unlimited commercial projects
Original design
@uiinspoo 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 light floating toolbar with four icon slots and a round plus button on its right. Tapping a slot moves a white selection pill to it; while pressed the pill turns into a glass lens that grows and bends the edge of whatever sits underneath, then lands with a spring and shrinks back. Pressing the plus makes it enlarge and turn white. On release the toolbar stretches, overshoots and turns into a menu of labelled tiles such as Note and Checklist, while the plus rotates a quarter turn into a cross. Choosing a tile or pressing the cross collapses the menu back into the toolbar.

How it's built

A table-driven core stores the frame-by-frame width, height and offset of the open and close sequences, and the component reads from it. The lens, the toolbar fill and the shadows are drawn with Skia, with the lens refraction produced by pushing sample points inward along the edge normal near the rounded-rectangle boundary. Tile content blurs in and out during the morph. A requestAnimationFrame loop drives the clock. Icons are hand-built paths rather than image assets.

Good for

  • A floating bottom toolbar that offers a create menu from its action button
  • Navigation bars where the selected item should travel as a glass indicator
  • A tool palette that expands from a compact control instead of opening a sheet

Dependencies

@shopify/react-native-skiareact-native

Tags

3D RotationButtonWork and CollaborationDesign ToolsExpand and CollapseGradientIconLight ModeLiquid GlassMenuMinimalMorphingPress FeedbackShaderSkeuomorphic 3DSpring PhysicsState TransitionSystem UI

Related