1.1.8 • Published 4 years ago

react-responsive-animate-navbar v1.1.8

Weekly downloads
391
License
MIT
Repository
github
Last release
4 years ago

react-responsive-animate-navbar (Example)

just a simple, flexible & completely customisable responsive navigation bar component.

NPM JavaScript Style Guide

Desktop Demo:

Demo

Responsive Demo:

Demo

Install

npm install --save react-responsive-animate-navbar

Usage

import React from "react";
import ReactNavbar from "react-responsive-animate-navbar";

class Example extends Component {
  render() {
    return (
      <ReactNavbar
        color="rgb(25, 25, 25)"
        logo="https://svgshare.com/i/KHh.svg"
        menu={[
          { name: "HOME", to: "/" },
          { name: "ARTICLES", to: "/articles" },
          { name: "ABOUT ME", to: "/about" },
          { name: "CONTACT", to: "/contact" },
        ]}
        social={[
          {
            name: "Linkedin",
            url: "https://www.linkedin.com/in/nazeh-taha/",
            icon: ["fab", "linkedin-in"],
          },
          {
            name: "Facebook",
            url: "https://www.facebook.com/nazeh200/",
            icon: ["fab", "facebook-f"],
          },
          {
            name: "Instagram",
            url: "https://www.instagram.com/nazeh_taha/",
            icon: ["fab", "instagram"],
          },
          {
            name: "Twitter",
            url: "http://nazehtaha.herokuapp.com/",
            icon: ["fab", "twitter"],
          },
        ]}
      />
    );
  }
}

Props

PropertyTypeDefaultDescription
colorstring"rgb(25, 25, 25)"The Background of the navbar
logostring"https://svgshare.com/i/KHh.svg"the SVG logo url.
menuarraylike the examplethe route url.
socialarraylike the examplethe icons for social links.

License

MIT © Nazeh-Taha

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago