JSPM

  • Created
  • Published
  • Downloads 11864
  • Score
    100M100P100Q189075F
  • License MIT

Gravity UI Navigation components

Package Exports

  • @gravity-ui/navigation
  • @gravity-ui/navigation/build/cjs/index.js
  • @gravity-ui/navigation/build/esm/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gravity-ui/navigation) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@gravity-ui/navigation · npm package CI storybook

Aside Header Navigation · Preview →

Install

npm install @gravity-ui/navigation

Ensure that peer dependencies are installed in your project

npm install --dev @gravity-ui/uikit@^6.15.0 @gravity-ui/icons@2.2.0 @gravity-ui/components@3.0.0 @bem-react/classname@1.6.0 react@^18.0.0 react-dom@18.0.0

Sandboxes

Basic https://codesandbox.io/p/devbox/navigation-demo-simple-x9k5sd

Advanced https://codesandbox.io/p/devbox/recursing-dawn-6kc9vh

Roadmap 2025

  1. Support SSR
  2. Add more docs, examples to Gravity UI
  3. Support Navigation at UIKit themer
  4. Unify subheaderItem, menuItem, footerItem API

Components

CSS API

Used for themization Navigation's components