Socket
Socket
Sign inDemoInstall

volkeno-react-skeleton

Package Overview
Dependencies
6
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    volkeno-react-skeleton

volkeno-react-skeleton lets you create beautiful animated loading skeletons that automatically adapt to your react application.


Version published
Weekly downloads
42
decreased by-61.47%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

volkeno-react-skeleton

volkeno-react-skeleton lets you create beautiful animated loading skeletons that automatically adapt to your react application.

NPM JavaScript Style Guide

Install

npm install --save volkeno-react-skeleton

Usage

import React, { Component } from 'react'

import VolkenoSkeleton from 'volkeno-react-skeleton'
import 'volkeno-react-skeleton/dist/index.css'

class Example extends Component {
  render() {
    <VolkenoSkeleton
      variant='rect'
      count={1}
      width={30}
      height={30}
      style={{ marginTop: '1rem' }}
    />
  }
}

Configuration - Props

PropertyTypeRequireDefaultDescription
variantstringtrue...Skeleton type (circle, rect, text)
widthstring or numberfalse100pxThe width of the skeleton
heightstring or numberfalse100pxThe height of each skeleton line
borderRadiusstring or numberfalse10pxThe border radius of the skeleton
styleReact.CSSPropertiesfalse...Apply a style to your skeleton
countnumberfalse1The number of lines of skeletons to render.
classNamestringfalse...A custom class name for the individual skeleton elements

License

MIT © VolkenoMakers

Keywords

FAQs

Last updated on 04 May 2022

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc