Skip to content

zero dependency, ultra lightweight (1KB gzipped) skeleton loader component for react πŸ₯

Notifications You must be signed in to change notification settings

devinschulz/tiny-skeleton-loader-react

This branch is 4 commits behind hc-oss/tiny-skeleton-loader-react:master.

Folders and files

NameName
Last commit message
Last commit date
Aug 31, 2021
Oct 1, 2020
Oct 15, 2019
Oct 15, 2019
Dec 7, 2021
Jan 22, 2022
Oct 15, 2019
Oct 15, 2019
Oct 1, 2020
Oct 15, 2019
Jan 22, 2022

Repository files navigation

tiny-skeleton-loader-react

zero dependency, ultra lightweight (1KB gzipped) skeleton loader component for react ✨

Example

GitHub Actions Status NPM gzip

πŸ”§ Installation

npm install --save tiny-skeleton-loader-react

πŸ“¦ Usage

import React from "react";

import SkeletonLoader from "tiny-skeleton-loader-react";

class Example extends React.Component {
  render() {
    return <SkeletonLoader />;
  }
}

πŸ‘€ Properties

Property Attribute Description Type Default
width width Loader Width string "100%"
height height Loader Height string "1em"
background background Loader background color string "#eff1f6"
circle circle Make Skeleton Circle boolean false
borderRadius border-radius Loader radius string "4px"
block block Whether to start new boolean true
style style Extra Styles object {}

License

MIT Β© hc-oss

About

zero dependency, ultra lightweight (1KB gzipped) skeleton loader component for react πŸ₯

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 39.1%
  • TypeScript 34.8%
  • CSS 26.1%