Beautiful Navigation Bar + Hero Component built using React.JS
<Hero> + <Navbar> = <Navi>
Navi is a Web Component which combines the beauty of a <Hero>
element with the utility of a <Navbar
.
It supports various transformations to itself and its contents on scroll.
- Mobile-first
- Lightweight
- Reusable
- Customizable
- Versatile:
- the hero functionality can be toggled on/off using
props
forcing the navbar to stay in its final "collapsed" state.- Useful, for example, if you only want the fullscreen Hero on your index page.
- the hero functionality can be toggled on/off using
using Yarn:
yarn add @rstlss/Navi
in your project:
import { Navi } "@rstlss/Navi"
import React from "react"
import { render } from "react-dom"
function App () {
return <Navi>
<h1>Navi Demo</h1>
<p>This is the content of my Navi app, which will display directly below Navi</p>
</Navi>
}
render(<App />, document.getElementById("root"))
To use
- Insert instructions here
Navi uses the following technologies:
- Storybook
- Jest
- Yarn
- Webpack
- Typescript
- React.JS
- RxJS
- Ramda (Rambda where possible)
- Bulma
In the project directory, you can run:
Runs Storybook in development mode Open http://localhost:9001 to view it in the browser.
Launches the test runner in the interactive watch mode.<br
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Navi is licensed under the Creative Commons BY NC ND 4.0 license.
If you have any problems or for any licensing enquiries please contact Rai
We welcome all contributions from the open source community.
For instructions and guidance please refer to CONTRIBUTION.md
- Author: Rai Butera (of RSTLSS)
- Contributors:
- you?