1.0.17 • Published 1 year ago

nexusnavbar v1.0.17

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

ResponsiveAppBar

Overview

The ResponsiveAppBar component is a versatile and responsive navigation bar built with React and Material-UI. It adapts to both mobile and desktop views, displaying a hamburger menu on smaller screens and a full navigation bar on larger screens. The component is highly customizable, allowing you to pass a list of navigation links, a logo, and optional end components such as buttons or other UI elements.

Installation

To use the ResponsiveAppBar component, ensure that you have the necessary dependencies installed:

npm install @mui/material @mui/icons-material

import React from "react";
import ResponsiveAppBar from "nexusnavbar";

const App = () => {
  const navLinks = [
    { href: "/", text: "Home" },
    { href: "/about", text: "About" },
    { href: "/services", text: "Services" },
    { href: "/contact", text: "Contact" },
  ];

  const logoUrl = "/path/to/your/logo.png";

  return (
    <div className="App">
      <ResponsiveAppBar
        list={navLinks}
        logo={logoUrl}
        endComponent={<button className="custom-button">Sign In</button>}
        copyright={<p>© 2024 Your Company. All rights reserved.</p>}
      />
      {/* Other components and content */}
    </div>
  );
};

export default App;
1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago