0.5.1 • Published 6 years ago

@slup/navbar v0.5.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

This package contains the Navbar, a Material Design Component which is part of a bigger ecosystem called Slup

Description

From Google's Material Design guidelines:

Installation

This package can be installed with NPM

npm install --save @slup/navbar

Usage

import { Navbar } from '@slup/navbar'

export const Test = props =>
  <Navbar>
    /* Icons and Title here */
  </Navbar>

Available properties

PropsTypeDefaultDocumentation
primarybooleanfalseLink
fixedbooleanfalseLink
revealbooleanfalseLink

Property: 'primary'

This property will set the background to the primary color of the theme

<Navbar primary />

Property: 'fixed'

This property will fix the Navbar relative to the browser window

<Navbar fixed />

Property: 'reveal'

This property will fix the Navbar relative to the browser window but it will "reveal" itself only when scrolling up

<Navbar reveal />
0.5.1

6 years ago

0.5.0

6 years ago