Skeleton
The <Skeleton />
component renders a subtly animated placeholder for content while fetching data.
import { Text } from 'minerva-ui'
Preview
Source
Circular Skeleton
Preview
Source
Multi-line Skeleton with Custom Gap
Preview
Source
Skeleton Loading States
Preview
Source
Props
These are props related to the Skeleton component.
Name | Type | Is Required | Default | Description |
---|---|---|---|---|
count | number | optional | 1 | Count of multi-line skeleton |
circle | boolean | optional | false | Sets if skeleton is a circle |
gap | string | optional | 10px | Sets space between multi-line skeletons |
height | string | optional | 2em | Sets height of skeleton |
width | string | optional | 100% | Sets width of skeleton |