Skeleton
A placeholder for content to load
# Media
# Card
# API
Name | Description | Type | Values | Default |
---|---|---|---|---|
active | Show or hide loader | Boolean | — | true |
animated | Display a loading animation | Boolean | — | true |
rounded | Rounded style | Boolean | — | true |
size | Vertical size of skeleton, optional | String | is-small , is-medium , is-large | — |
width | Custom width | String, Number | — | - |
height | Custom height | String, Number | — | - |
circle | Show a circle shape | Boolean | — | false |
count | Number of shapes to display | Number | — | 1 |
position | Position of the skeleton, optional | String | is-centered , is-right | — |
# Variables
You can use these variables to customize this component.
Name | Default |
---|---|
$skeleton-background | linear-gradient(90deg, $grey-lighter 25%, rgba($grey-lighter, 0.5) 50%, $grey-lighter 75%) |
$skeleton-border-radius | $radius |
$skeleton-duration | 1.5s |
$skeleton-margin-top | .5rem |
This page is open source. Noticed a typo or something's unclear?