Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gravity-ui/navigation

Package Overview
Dependencies
Maintainers
3
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gravity-ui/navigation

Gravity UI Navigation components

  • 0.21.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.7K
increased by2.9%
Maintainers
3
Weekly downloads
 
Created
Source

@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@^3.0.2 @bem-react/classname@1.6.0 react@^16.0.0

Components

  • AsideHeader
  • MobileHeader
  • FooterItem
  • MobileHeaderFooterItem
  • Drawer
  • DrawerItem

Imports

import {AsideHeader} from '@gravity-ui/navigation';

CSS variables

Used for themization Navigation's components

AsideHeader vars

NameDescriptionDefault
--gn-aside-header-background-colorСolor of decorations and selected items--g-color-base-warning-light
--gn-aside-header-subheader-divider-line-colorDivider line color for withDecoration and expanded AsideHeader--g-color-base-warning-light
--gn-aside-header-collapse-button-divider-line-color--gn-aside-header-subheader-divider-line-color
--gn-aside-header-footer-item-icon-color--g-color-text-primary
--gn-aside-header-subheader-item-icon-color--g-color-text-primary
--gn-aside-header-item-icon-background-sizeBackground size used when AsideHeader is compact38px
--gn-aside-header-divider-line-colorVertical color divider between AsideHeader and contentLight theme: transparent, Dark theme: --g-color-line-generic-solid

FAQs

Package last updated on 27 Sep 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc