A floating action button that morphs through states (closed/main/sub) with SVG path-morphing trigger icon and directional panel slides.
Dependencies
Interaction Type
Click the trigger to open. Items with sub-menus drill into a sub-view. The trigger icon morphs between hamburger/minus/back-arrow.
Props
Options you can pass to customize this component.
items*The nav items. Required.
placementPanel placement.
onNavigateCalled on link navigation.
Installation
How to use
<MorphNav items={[{ id: 'dash', label: 'Dashboard', href: '/dash' }]} />Source Code
Click the code icon in the top-right corner to view the source code.
License & Usage
// No code loaded.