Socket
Socket
Sign inDemoInstall

react-responsive-animate-navbar

Package Overview
Dependencies
27
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-responsive-animate-navbar

react responsive animate navbar


Version published
Weekly downloads
28
increased by47.37%
Maintainers
1
Install size
18.4 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 28 Apr 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc