Lynx/Modules/Navigation/Installation
@sigx/lynx-navigation · Stable · Component library

Installation#

Add @sigx/lynx-navigation to your project.

Install the package#

Terminal
pnpm add @sigx/lynx-navigation

@sigx/lynx-navigation has five required peers. Install any you don't already have:

Terminal
pnpm add @sigx/lynx @sigx/lynx-icons @sigx/lynx-motion @sigx/lynx-sheet @sigx/lynx-linking

@sigx/lynx-linking supplies URL parsing, the Android hardware back button and deep-link wiring, so it is required even if you don't route deep links.

Native setup#

Rebuild your development client after installing:

Terminal
sigx prebuild

Verify#

TSX
import * as Navigation from '@sigx/lynx-navigation';

console.log(Object.keys(Navigation));