Skip to content

⚛️ 🅱️ 🗂 ↔️ Off-canvas navigation for react using bootstrap

Notifications You must be signed in to change notification settings

Hermanya/react-bootstrap-navbar-offcanvas

Repository files navigation

React Bootstrap Off-canvas Navigation

Build Status codecov Greenkeeper badge npm version

React Bootstrap Off-canvas Navigation demo

Demo | npm install react-bootstrap-navbar-offcanvas

Inspiration

Awesome React Bootstrap components

Currently only works with Bootstrap 3

Usage

import NavbarOffcanvas from 'react-bootstrap-navbar-offcanvas'
import { /* everything else */ } from 'react-bootstrap'

<Navbar collapseOnSelect staticTop>
  <Navbar.Header>
    <Navbar.Brand>
      <a href={repo}>Off-canvas Navbar</a>
    </Navbar.Brand>
    <Navbar.Toggle />
  </Navbar.Header>
  <NavbarOffcanvas side="left">
    <Nav>
      <NavItem active>Exhibit A</NavItem>
      <NavDropdown title="Github" id="basic-nav-dropdown">
        <MenuItem href={repo}>Code</MenuItem>
        <MenuItem href={repo + '/issues'}>Issues</MenuItem>
        <MenuItem>Something else here</MenuItem>
        <MenuItem divider />
        <MenuItem>Separated link</MenuItem>
      </NavDropdown>
    </Nav>
    <Navbar.Text pullRight>
      I am responsive!
    </Navbar.Text>
    <Navbar.Form pullRight>
      <FormGroup>
        <FormControl type="text" placeholder="Search" />
      </FormGroup>
    </Navbar.Form>
  </NavbarOffcanvas>
</Navbar>

About

⚛️ 🅱️ 🗂 ↔️ Off-canvas navigation for react using bootstrap

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published