1.0.2 • Published 1 year ago

@manikandan_srinivasalu/nav v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

version license creator co-developer language

usage phase

Welcome to NAV

Designed and Developed with ❤ for the devlopers by MANIKANDAN SRINIVASALU

co-developed by SNEHA.M

NAV tags

! note

  • don't forget to include CDN links of css and js of the respective nav design
  • try to include all attributes for respective nav
  • some nav attributes can handle mutiple values seperated by comma( , ) eg: pages , __styles etc..
  • if you dont need any customization you can provide empty attributes eg: direction = ""

basic-nav

CDN link

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/basic-nav/style.css">
<script src="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/basic-nav/script.js" defer></script>

A very basic navbar designed with customization

attributevalue
logoadd your brand image
logodimdimension Height and Width in px
brandname/title of your brand
brandlinklink to navigate on click
menustylebarcolor ,fontcolor, hovercolor
pagesname of the pages(seprate with comma)
linkslinks for the page(url or.html or file)
stickynavbar sticks to page on scroll if true else sticky=""
transparenttransparent bar that adopts page color
mobileiconimage1,image2 (for open and close)

code sample of basic-nav

<basic-nav
    logo="../nav.jfif" 
    logodim="30px,40px"
    brand="NAV" 
    brandlink="index.html"
    menustyle="crimson,white,black"
    pages="home,about,contact,services,blog"
    links="link1.html,link2.html,link3.html,link4.html,link5.html"
    sticky="true"
    mobileicon="images/hamburger.png,images/exit.png"
>
</basic-nav>

bubble-nav

CDN link

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/bubblenav/bubblenav.css">
<script src="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/bubblenav/bubblenav.js" defer></script>

circular menus pops from corner

note !

bubble-nav can handle only upto "4" menu

attributevalue
colorcolor of the bubbles
hovercolorcolor on hover
bubbletext-colorfont color
bubbleborderchanges the bordercolor of bubble
fontfont family of your choice
pagesname of the pages(seprate with comma)
linkslinks for the page(url or.html or file)
bubble1-xthe x position of the bubble 1 in px
bubble1-ythe y position of the bubble 1 in px
bubble2-xthe x position of the bubble 2 in px
bubble2-ythe y position of the bubble 2 in px
bubble3-xthe x position of the bubble 3 in px
bubble3-ythe y position of the bubble 3 in px
bubble4-xthe x position of the bubble 4 in px
bubble4-ythe y position of the bubble 4 in px
menucolorcolor of the menu button in corner
menutext-colorfont color of menu button
menuborderuse css border eg: 2px solid red

code sample of bubble-nav

 <bubble-nav 
    pages="contact,about,product,new" 
    links="contact.html,about.html" 
    color="orange" 
    hovercolor="grey" 
    bubbletext-color="black" 
    bubbleborder="red" 
    font="arial">
</bubble-nav>

float-nav

CDN link

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/floatnav/floatnav.css">
<script src="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/floatnav/floatnav.js" defer></script>

float nav is like floating icon button which can hold upto 6 menu

the side of the icon and position can also be changed but not the menus

attributevalue
openiconimage eg:hamburgericon
closeiconimage eg:closeicon
fontstylefontcolor, hovercolor
posx,posyicon position x,y for mobile view
posxpc,posypcicon position x,y for pc view
menubtnstylecolor,css border property, roundness in (%)
menustylecolor,hovercolor,clickcolor,roundness in (px)
pagesname of the pages(seprate with comma)
linkslinks for the page(url or.html or file)
rightsticks to rightside if right="true"

code sample of float-nav

   <float-nav
    openicon="images/hamburger.png"
    closeicon="images/exit.png"
    fontstyle="white,black"
    posx="-5px" posy="1px"
    posxpc="-4px" posypc="0px"
    menubtnstyle="lightblue,10px double navy,46%"
    menustyle="navy,powderblue,red,3px"
    pages="Home,About,Contact,Services,Product"
    links="link1.html,link2.html,link3.html,link4.html,link5.html">
  </float-nav>

halfslide-nav

CDN link

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/halfslidenav/halfslide.css">
<script src="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/halfslidenav/halfslide.js" defer></script>

halfslide nav provides the classic website navigation of sliding effect

attributevalue
slideiconimage that opens menu eg:hamburgericon
iconadd your brand image
logodimdimension Height and Width in (px)
barcolorcolor of the navbar
slidecolorcolor of the slide
fontstylefontcolor, hovercolor
pagesname of the pages(seprate with comma)
linkslinks for the page(url or.html or file)
rightslides from rightside if right="true"

code sample of halfslide-nav

<halfslide-nav 
    slideicon="images/hamburger.png" 
    icon="../nav.jfif"
    logodim="40px,50px"
    barcolor="#FABC3F"
    slidecolor="grey"
    fontstyle="white,black"
    page="home,about,contact,services,blog" 
    links="link1.html,link2.html,link3.html" 
    right="">
</halfslide-nav>

hover-nav

CDN link

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/hovernav/hovernav.css">
<script src="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/hovernav/hovernav.js" defer></script>

hover nav provides the classic website navigation of sliding effect

attributevalue
pagesname of the pages(seprate with comma)
linkslinks for the page(url or.html or file)
imageiconsicons for your menu(seprate with comma) try to give it as per the order of the pages
menubtncolorcolor of the menu button
menubtnbordercss border property
menustylemenucolor, hovercolor
iconstyleicon background color, hovercolor
fontstylefontcolor, hovercolor
iconbordercss border property
openiconimage eg:hamburgericon

code sample of hover-nav

<hover-nav 
    pages="home,about,contact,services,blog" 
    links="link1.html,link2.html,link3.html" 
    imageicons="images/home.png,images/about.png,images/contact.png,images/service.png,images/blog.png"
    menubtncolor="orange" 
    menubtnborder="10px solid black"
    menustyle="orange,black"
    iconstyle="white,orange"
    fontstyle="black,white"
    iconborder="3px solid black">
</hover-nav> 

pop-nav

CDN link

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/popnav/popnav.css">
<script src="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/popnav/popnav.js" defer></script>

pop nav is like a popup which can hold upto 6 menu

attributevalue
openiconimage eg:hamburgericon
closeiconimage eg:closeicon
btncolorcolor of navbutton
btnbordercss border property
menustylebar background color, menucolor, hovercolor, activecolor
fontstylefontcolor, hovercolor
pagesname of the pages(seprate with comma)
linkslinks for the page(url or.html or file)

code sample of pop-nav

<pop-nav
    openicon="images/hamburger.png" 
    closeicon = "images/exit.png"
    btncolor="wheat" 
    btnborder = "5px solid lightgrey"
    menustyle = "wheat,black,white,"
    fontstyle="white,black"
    pages="home,about,contact,new product" 
    links="link1.html,link2.html,link3.html">
</pop-nav>

simple-nav

CDN link

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/simplenav/simplenav.css">
<script src="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/simplenav/simplenav.js" defer></script>

simple nav is general nav with msg feature and icons

attributevalue
msgmessage to be displayed on top of the navbar
msgcolorbackground color,fontcolor
navbarcolorbar background color, fontcolor, menuhovercolor, fonthovercolor
pagesname of the pages(seprate with comma)
linkslinks for the page(url or.html or file)
logoadd your brand image
logodimdimension Height and Width in (px)
iconsicons for your socialmedia(seprate with comma)
iconlinkslinks for the page(url)
iconhovercolorhovercolor on the icons

code sample of simple-nav

<simple-nav
    msg="nav will be launched soon!"
    msgcolor=",white"
    navbarcolor="green,white,lightgreen,black"
    pages = "Home,Blog,Service,Contact,new,works"
    links ="../index.html,../about.html,link3.html,link4.html"
    logo = "../nav.jfif"
    logodim="30px,40px"
    icons="images/gg.png,images/fb.png,images/ig.png,images/yt.png,images/wt.png"
    iconlinks="https://www.google.com,,link3.html,https://www.youtube.com,link4.html"
    iconhovercolor="lightgreen">
</simple-nav>

slide-nav

CDN link

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/slidenav/slidenav.css">
<script src="https://cdn.jsdelivr.net/gh/MANIKANDANMLT/nav@main/slidenav/slidenav.js" defer></script>

slide nav provides the classic website navigation of sliding effect

attributevalue
logoadd your brand image
logodimdimension Height and Width in (px)
barcolorcolor of the navbar
fontstylefontcolor, hovercolor
slidecolorcolor of the slide
slideiconimage that opens menu eg:hamburgericon
pagesname of the pages(seprate with comma)
linkslinks for the page(url or.html or file)
directionslides from directiontop,bottom,left,right

code sample of slide-nav

  <slide-nav
    logo="../nav.jfif"
    logodim="40px,60px"
    barcolor="purple"
    fontstyle="purple,white"
    slidecolor="violet"
    slideicon="images/hamburger.png"
    page="home,contact,services,blog,new,link,added"
    links="link1.html,link2.html,link3.html,link4.html,link5.html"
    direction="left">
  </slide-nav>

thank you!