Skip to content

mahdimotamedi/nav-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nav JS

It's still under development

A ui library to building menu that your website needs.

Sample of usage

<head>
    <link rel="stylesheet" href="../dist/themes/default.css">
</head>

...

<nav id="main-menu">
    <ul>
        <li>item 1</li>
        <li>item 2</li>
        <li>item 3</li>
    </ul>
</nav>

<script src="../dist/nav.js"></script>
<script>
    const mainMenu = new Navjs({
        id: 'main-menu'
    });
</script>

Look at 'examples' directory to see a lot of samples

Options

    const mainMenu = new Navjs({
       id,
       theme: 'default',
       responsive: true,
       condition: 'horizontal',
       animation: 'fade',
       dir: 'ltr',
    });

Features

  • Completely Responsive Menu
  • Horizontal and Vertical Menu
  • Support : Animations - Icons - Mega Menu - Etc
  • Extensible to add Themes
it also support RTL languages with rtlcss lib

About

A UI library to making all sort of navigation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published