You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-skela

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-skela

The react skeleton library

1.0.3
latest
Source
npmnpm
Version published
Weekly downloads
10
-16.67%
Maintainers
1
Weekly downloads
 
Created
Source

react-skela

React skeleton library

Features

  • Fully Customizable components: Feel free to change the colors, sizes, animation type.
  • Plug and play: Use existing components or create a new one using basic react-skela (line, circle, square)
  • ⚛️ Lightweight library with zero dependencies.

Demo

React Skela examples

Getting Started

npm i react-skela
yarn add react-skela

Usage

Base skeletons

  • Default is a line skeleton
import Skela from 'react-skela'

const isLoading = () => <Skela />
  • circle
import Skela from 'react-skela'

const isLoading = () => <Skela type="circle" />
  • square
import Skela from 'react-skela'

const isLoading = () => <Skela type="square" />

Inbuilt skeletons

  • Table
import { SkelaTable } from 'react-skela'

const isLoading = () => <SkelaTable rows={10} />
  • Card
import { SkelaCard } from 'react-skela'

const isLoading = () => <SkelaCard cardWidth="200px" cardHeight="300px" />

Keywords

react

FAQs

Package last updated on 14 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.