Color Schemes for Skeleton are not implemented in the default theme. You can extend the theme to implement them.
Skeleton
Skeleton is used to display the loading state of some component.
Props#
colorScheme
colorSchemestringendColor
endColorThe color at the animation end
stringfadeDuration
fadeDurationThe fadeIn duration in seconds. Requires isLoaded toggled to true in order to see the transition.
number0.4isLoaded
isLoadedIf true, it'll render its children with a nice fade transition
booleansize
sizeSizes for Skeleton are not implemented in the default theme. You can extend the theme to implement them.
string2remspeed
speedThe animation speed in seconds
number0.8startColor
startColorThe color at the animation start
stringvariant
variantVariants for Skeleton are not implemented in the default theme. You can extend the theme to implement them.
stringProps#
colorScheme
colorSchemeColor Schemes for Skeleton are not implemented in the default theme. You can extend the theme to implement them.
stringendColor
endColorThe color at the animation end
stringfadeDuration
fadeDurationThe fadeIn duration in seconds. Requires isLoaded toggled to true in order to see the transition.
number0.4isLoaded
isLoadedIf true, it'll render its children with a nice fade transition
booleansize
sizeSizes for Skeleton are not implemented in the default theme. You can extend the theme to implement them.
string2remspeed
speedThe animation speed in seconds
number0.8startColor
startColorThe color at the animation start
stringvariant
variantVariants for Skeleton are not implemented in the default theme. You can extend the theme to implement them.
string