apps/mantine.dev/src/pages/core/skeleton.mdx
import { SkeletonDemos } from '@docs/demos'; import { Layout } from '@/layout'; import { MDX_DATA } from '@/mdx';
export default Layout(MDX_DATA.Skeleton);
Use Skeleton to create a placeholder for loading content. Skeleton supports the following props:
height – height – any valid CSS valuewidth – width - any valid CSS valueradius – key of theme.radius or any valid CSS value to set border-radiuscircle – if true, width, height and border-radius will equal the value specified in the height propanimate – true by default, controls animationIf you want to indicate the loading state of content that is already on the page, wrap it with Skeleton
and control the loading overlay visibility with the visible prop: