Skeleton

Skeleton elements are used to provide a low fidelity representation of content before it appears on the page, and improves load times perceived by users.

Component NameDevelopment Status
Skeleton Body TextDONE
Skeleton HeadingDONE
Skeleton ThumbnailDONE

Examples

You can find all examples for components developed in this module here.

Body Text Examples

SkeletonBodyText component also takes lines to render desired amount of lines.

Properties

This component composes styled-system

Property NameTypeDescription
lines - 3numberHow many lines will be rendered.

Heading Examples

SkeletonHeading component also takes width to render heading with desired width. Default width is 200px.

Heading Variants

SkeletonHeading can also take variant property to match the exact same height of headings.

Properties

This component composes styled-system

Property NameTypeDescription
variant - 'h1'enumSet the same height with heading elements.

Thumbnail Examples

SkeletonThumbnail component takes width and height properties. And also borderRadius.

Properties

This component composes styled-system

Property NameTypeDescription
height - 100
width - 100