Skip to content

midnight-theory/skelly

Repository files navigation

Build Status license

Introduction

Skelly (v0.1.0) is collection of vanilla skeleton loader components.

This package is inspired by vue-skelly.

Usage

Install the package

# For yarn
$ yarn add @midnight-theory/skelly

# For npm
$ npm i @midnight-theory/skelly

Import component into your project

import { InitAll } from "skelly";
import "skelly/dist/bundle.min.css";

window.onload = () => {
    // Invoke the script
    InitAll();
}

In your html:

<div class="skelly-circle"></div>

For development

$ git clone https://github.com/midnight-theory/skelly
$ yarn && yarn start

Releases

No releases published

Packages

No packages published