You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

blaze-navigation

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blaze-navigation

Blazingly fast react native navigation library

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

blaze-navigation

Blazingly fast & simple React Native navigation

Experimental — This library is under active development. APIs may change between releases.

Features

  • Declarative route configuration
  • Type-safe navigation with full path inference
  • Stack and tab navigators (powered by react-native-screens)
  • Nested navigators (stacks inside tabs, tabs inside stacks)
  • Dynamic route parameters ($paramName)
  • Global navigation functions (usable outside React components)
  • Navigation event listeners
  • Layouts and route guards

Installation

npm install blaze-navigation react-native-screens react-native-safe-area-context

react-native-screens (>=4.0.0) and react-native-safe-area-context (>=5.0.0) are a required peer dependencies.

Quick Start

1. Define your router

import { createRouter } from 'blaze-navigation';
import { FeedScreen } from './screens/FeedScreen';
import { ProfileScreen } from './screens/ProfileScreen';
import { DetailScreen } from './screens/DetailScreen';

const router = createRouter({
  navigator: 'tabs',
  children: {
    feed: {
      component: FeedScreen,
      navigator: 'stack',
      tabOptions: { title: 'Feed' },
      children: {
        $itemId: { component: DetailScreen },
      },
    },
    profile: {
      component: ProfileScreen,
      tabOptions: { title: 'Profile' },
    },
  },
});
declare module 'blaze-navigation' {
  interface Register {
    router: typeof router;
  }
}

This enables full type inference for navigate(), <Link to="..." />, and useParams().

3. Render the provider

import { NavigationProvider } from 'blaze-navigation';

export default function App() {
  return <NavigationProvider router={router} />;
}

4. Navigate

import { navigate, goBack, Link } from 'blaze-navigation';

// From anywhere (including outside React components)
navigate('/feed/42');
goBack();

// Or use the Link component
<Link to="/feed/42">View Item</Link>;

Examples

The example/ directory contains a demo app with four navigation patterns:

Docs

See DOCS.md for the full API reference.

Contributing

License

MIT

Keywords

react-native

FAQs

Package last updated on 15 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts