Skip to main content
Version: 6.1.0

Skeleton

Skeleton loading component with support for avatar, title, paragraph, button, and input placeholders.

Live Example

Loading component...

Try It

Edit the code below to experiment with the component:

Live Editor
function Demo() {
  return <Skeleton active loading title shape="circle" size="default" />;
}
Result
Loading...

Props

PropTypeDefaultDescription
activebooleantrueShow animation effect.
avatarbooleanfalseShow avatar placeholder.
loadingbooleantrueDisplay the skeleton when true.
titlebooleantrueShow title placeholder.
shapestring"circle"Shape of the avatar/button skeleton.
sizestring"default"Size of the skeleton elements.
blockbooleanfalseOption to fit button width to its parent width.

Import

import { Skeleton } from '@superset-ui/core/components';

Improve this page

This documentation is auto-generated from the component's Storybook story. Help improve it by editing the story file.