Skeleton
Description
A placeholder component for loading state
Skeleton loaders are used to provide a placeholder for content that is still loading. They help reduce the perceived load time and prevent layout shifts by reserving the space that the final content will occupy.
They come in various shapes like circles for avatars and rectangles for text or images.
API reference
public enum SkeletonTypePredefined shape presets used by the placeholder.
public sealed class Skeleton : ComponentBase<Skeleton, HTMLElement>Constructors
Properties
Methods
public Skeleton Animated(bool value = true)Configures the component to animated.
public Skeleton Background(string color)Gets or sets the CSS background of the component.