1.0.17 • Published 11 months ago

nexusnavbar v1.0.17

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months 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

11 months ago

1.0.16

11 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago