Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 442 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 442 Bytes

Skeleton Item

The Skeleton Item component renders a rectangular loading indicator, meant to serve as a placeholder until your actual content is ready to be rendered.

Getting started

yarn add @hig/skeleton-item

Import the component and CSS

import SkeletonItem from '@hig/skeleton-item';
import '@hig/skeleton-item/build/index.css';

Basic usage

<SkeletonItem maxWidth="400px" marginBottom="24px" />