An open API service indexing awesome lists of open source software.

https://github.com/zlatanpham/skeleton-loader

React component helps ease the process of creating skeleton screens
https://github.com/zlatanpham/skeleton-loader

loader react skeleton-screen

Last synced: about 2 months ago
JSON representation

React component helps ease the process of creating skeleton screens

Awesome Lists containing this project

README

          

# skeleton-loader

>

[![NPM](https://img.shields.io/npm/v/skeleton-loader.svg)](https://www.npmjs.com/package/skeleton-loader) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![Build Status](https://travis-ci.org/zlatanpham/skeleton-loader.svg?branch=master)](https://travis-ci.org/zlatanpham/skeleton-loader)

## Install

```bash
yarn add @uxui/skeleton-loader
// or
npm install --save @uxui/skeleton-loader
```

## Usage

```tsx
import { Skeleton } from '@uxui/skeleton-loader';

class Example extends React.Component {
render() {
return ;
}
}
```

By default, `styled-components` was used to do styling and responsiveness but if you wish to have a `emotion` version, then, you have it:

```tsx
import { Skeleton } from '@uxui/skeleton-loader/emotion';
```

Examples of usage can be found [here](https://codesandbox.io/s/7ojl18nlzx).

## Documentation

Document can be found [here](https://skeleton-loader.netlify.com).

## License

MIT © [zlatanpham](https://github.com/zlatanpham)