New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ankr.com/cross-navigation

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ankr.com/cross-navigation

* remove `theme`, `customIdSuffix` in props * remove `import '@ankr.com/cross-navigation/style.css';` in project * remove `react-modern-drawer` from package.json

latest
npmnpm
Version
3.0.5
Version published
Maintainers
3
Created
Source

Migration from v2 to v3

Now this component inherits the MUI theme of an application

  • remove theme, customIdSuffix in props

  • remove import '@ankr.com/cross-navigation/style.css'; in project

  • remove react-modern-drawer from package.json

  • IMPORTANT

    You must use MUI theme utils from '@mui/material' instead '@mui/styles' in your project for correctly providing the theme to this component

Requirements

  • react version 17.0.0 or higher
  • react-dom version 17.0.0 or higher

Added in v3

  • "@mui/material": "^5.15.14",
  • "@mui/styles": "^5.15.14",
  • "tss-react": "^4.9.4"

Installation

npm:

npm install @ankr.com/cross-navigation

yarn:

yarn add @ankr.com/cross-navigation

Usage

import { CrossNavigation, LogoType } from '@ankr.com/cross-navigation';
// ...
<CrossNavigation logoType={LogoType.ANKR} />

Required styles

import '@ankr.com/assets/public/fonts/index.css';

Alternative fonts import

<link
  rel="preconnect"
  href="https://assets.ankr.com"
  crossOrigin=""
/>
<link
  href="https://assets.ankr.com/fonts/index.css"
  rel="stylesheet"
/>

FAQs

Package last updated on 04 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