react-styled-navbar

1.0.4 • Public • Published

react-styled-navbar

A simple, responsive, customizable navbar made with react and styled-components.

NPM JavaScript Style Guide

Install

npm install --save react-styled-navbar

Usage

import React from 'react'

import { Navbar, List, ListMenu } from 'react-styled-navbar'

const App = () => {
    return (
      <Navbar backgroundColor='#f1f1f1'>
        <List>
          <ListMenu fontSize='22px' hover='pink'>
            <a href='/' target='_blank'>item 1</a>
          </ListMenu>
          <ListMenu color='RoyalBlue'>
            <a href='/'>item 2</a>
          </ListMenu>
          <ListMenu color='RoyalBlue'>
            <a href='/'>item 3</a>
          </ListMenu>
          <ListMenu color='RoyalBlue'>
            <a href='/'>item 4</a>
          </ListMenu>
        </List>
      </Navbar>
  )
}

Props coming soon ...

License

MIT © bobbyhalljr

Readme

Keywords

none

Package Sidebar

Install

npm i react-styled-navbar

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

15.6 kB

Total Files

7

Last publish

Collaborators

  • bobbyhalljr