Using the component

From Vanilla JS, just add those script in your index.html header:

<script type="module"
        integrity="sha384-3lxVS+6/8IFKwnZqYS6Hbej6nzbMawWYTTxwmNwVciqYtZJIewqliAEhLn6hxuxD" crossorigin="anonymous"></script>
<script nomodule
        integrity="sha384-Lyof9WY5t8YZZZMzw4qIdI3obG8s6kDPVkvTHxukbzDHXgULctqHnVn0rWCtbrzs" crossorigin="anonymous"></script>

From other frameworks: we strongly recommend to visit

For every version, there is NPM package is available in the url:

Reserving space for the component

In order to avoid flicker behavour using Enterprise Navigation Component, it's recommend to reserve some space for the component adding some extra CSS classes.

For the header component:

  If the header size is set as '-xl' in the customize object:
    enterprise-nav-header {
      min-height: 137px;

  By default:
    enterprise-nav-header {
      min-height: 97px;

For the menu component:

  If the menu component is set as horizontal in the customize object:
    // not needed any CSS class

  By default:
    @media only screen and (min-width: 992px) {
      enterprise-nav-menu {
        min-width: 96px;