Examples
Default
Card Skeleton
Wrapping Children
All Variants
Radius
Props
Skeleton
A placeholder preview of content before data is loaded, reducing perceived load time. Mirrors common MUI Skeleton props for easy migration. When used as a loading state, wrap the skeleton region witharia-busy="true" and provide an accessible label so screen readers can convey the loading state.
Corner radius on the kit scale, so a skeleton can match the corners of the surface it stands in for. Overrides the radius the
variant sets.sm–--radius-sm(12px)md–--radius-md(16px)lg–--radius-lg(24px)
Shape variant of the skeleton.
text– a single line of text with slight vertical margin and rounded endscircular– a circle (width and height should match)rectangular– a sharp-cornered rectanglerounded– a rectangle with rounded corners
Exported types
Also exported from@fanvue/ui: SkeletonAnimation, SkeletonProps, SkeletonRadius, SkeletonVariant.
Setup: Installation · Theming