Discover / Feedback
Skeleton
Indicate that content is loading.
Usage notes
Use placeholders that resemble the content being loaded and provide an accessible loading label.
Examples use @easyui/react and its stylesheet. Read the setup guide.
Example source
import { Skeleton } from "@easyui/react";
export default function Example() {
return (
<div style={{ display: "grid", gap: 10 }} aria-label="Loading profile">
<Skeleton style={{ width: 44, height: 44, borderRadius: "50%" }} />
<Skeleton style={{ width: "75%" }} />
<Skeleton style={{ width: "50%" }} />
</div>
);
}