@nitro-ui/object-menu
v1.0.8
Published
Menu component for Nitro UI.
Downloads
67
Readme
Nitro UI: Object Menu
Menu styling for Nitro UI.
Getting Started
Get latest version by installing via NPM @nitro-ui/object-menu:
npm install @nitro-ui/object-menu
Default
<ul class="o-menu">
<li class="o-menu__item">
<a href="#" class="o-menu__link is--active">Menu One</a>
</li>
<li class="o-menu__item">
<a href="#" class="o-menu__link">Menu Two</a>
</li>
<li class="o-menu__item">
<a href="#" class="o-menu__link">Menu Three</a>
</li>
<li class="o-menu__item">
<a href="#" class="o-menu__link is--disabled">Menu Four</a>
</li>
</ul>
Options
<ul class="o-menu o-menu--center"> ... </div>
<ul class="o-menu o-menu--right"> ... </div>
<ul class="o-menu o-menu--space-around"> ... </div>
<ul class="o-menu o-menu--space-between"> ... </div>
<ul class="o-menu o-menu--responsive@mobile-tablet"> ... </div>
<ul class="o-menu o-menu--responsive@mobile"> ... </div>
Development
To extends, develop or contribute to this component, you're required to fork our main repository and made a pull request.
Development Requirements
Development tools required for this component are:
Ruby and SASS are optional if you're fully using node-sass from npm for development.
Development Setup
Run:
npm install
Compile
Run:
npm run build
TODO
Nothing todo for now.
CHANGELOG
All notable changes to this project will be documented in this file. For now, let's keep TODO and CHANGELOG in README file. Keeping things simple.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.0.0-beta] - 2019-07-18
Added
- Initial setup