@synerise/ds-skeleton
v0.6.18
Published
Skeleton UI Component for the Synerise Design System
Downloads
514
Readme
id: skeleton title: Skeleton
Skeleton UI Component
Installation
npm i @synerise/ds-skeleton
or
yarn add @synerise/ds-skeleton
Usage
import Skeleton from '@synerise/ds-skeleton'
<Skeleton />
Demo
API
| Property | Description | Type | Default |
| ---------------- | ---------------------------- | ------------------------- | ----------- |
| size | Changing size of Skeleton | 'S' / 'M' / 'L' | M |
| width | Changing width of Skeleton | 'M' / 'L' | M |
| height | Set height of Skeleton | number | |
| inline | Removes additional margin around skeleton if inteded to use inline | boolean | |
| numberOfSkeletons| Add more Skeletons | number | 2 |
| shape | Change shape of Skeletons | circle
|square
| circle
|