Skeleton

The <FluentSkeleton> component is used as a visual placeholder for an element while it is in a loading state and usually presents itself as a simplified wireframe-like version of the UI it is representing.

<FluentSkeleton> wraps the <fluent-skeleton> element, a web component implementation of a radio element leveraging the Fluent UI design system.

Examples

Element blocks

Example
Download: 

Element blocks with shimmer effect

Example

This example uses an isolated CSS file to define margins.

Download: 

Using SVG via Pattern attribute

Example
Download: 

Using inline SVG

Example
Download: 

Documentation

FluentSkeleton Class

Parameters

Name
Type
Default
Description
ChildContentRenderFragment?
Gets or sets the content to be rendered inside the component.
Fillstring?
Indicates the Skeleton should have a filled style.
Heightstring
50px
Gets or sets the height of the skeleton.
Patternstring?
Gets or sets the skeleton pattern.
ShapeSkeletonShape?
Rect
Gets or sets the shape of the skeleton. See SkeletonShape
Shimmerbool?
Gets or sets a value indicating whether the skeleton is shimmered.
Visiblebool
True
Gets or sets a value indicating whether the skeleton is visible.
Widthstring
50px
Gets or sets the width of the skeleton.
Rect
Circle
An error has occurred. This application may no longer respond until reloaded. Reload 🗙