@nitro-ui/utility-loader
Version:
Utility loader component for Nitro UI.
78 lines (46 loc) • 1.54 kB
Markdown
# Nitro UI: Utility Loader
Utility Loader component for Nitro UI.
## Getting Started
Get latest version by installing via [NPM @nitro-ui/utility-loader](https://www.npmjs.com/package/@nitro-ui/utility-loader):
```sh
npm install @nitro-ui/utility-loader
```
Include this stylesheet code into your site:
```html
<div class="loader"></div>
```
## Usage:
Example with `<button>` tag:
```html
<button class="c-btn c-btn--primary is--loading">Button</button>
```
## Development
To extends, develop or contribute to this component, you're required to fork our main [repository](https://github.com/icarasia/nitro-ui) and made a pull request.
### Development Requirements
Development tools required for this component are:
- [NodeJS](https://nodejs.org/en/)
- [Grunt CLI](https://gruntjs.com)
- [Ruby](https://www.ruby-lang.org/en/) (optional)
- [SASS](https://sass-lang.com) (optional)
Ruby and SASS are optional if you're fully using [node-sass](https://github.com/sass/node-sass) from npm for development.
### Development Setup
Run:
```sh
npm install
```
### Compile
Run:
```sh
grunt
```
---
# 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](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.0.0-beta] - 2019-07-18
### Added
- Initial setup