Skeleton

A skeleton acts as a placeholder for content, usually while the content loads.

Installation

Package installation information
Installyarn add @atlaskit/skeleton
SourceBitbucket.org, (opens new window)
npm@atlaskit/skeleton, (opens new window)
Bundleunpkg.com, (opens new window)

Skeleton Props

borderRadius

Description

Controls the border radius, or rounding of the skeleton's corners.

Default"var(--ds-radius-small)"
Type0 | "0" | "var(--ds-radius-xsmall)" | "var(--ds-radius-small)" | "var(--ds-radius-medium)" | "var(--ds-radius-large)" | "var(--ds-radius-xlarge)" | "var(--ds-radius-xxlarge)" | "var(--ds-radius-full)" | "var(--ds-radius-tile)"

color

Description

Overrides the default color of skeleton, and overrides the default shimmering start color if ShimmeringEndColor also provided.

Typestring

groupName

Description

Applied as a data-attribute. Use this to target groups of skeletons with the same name (e.g. for applying custom styles)

groupName="my-skeleton" -> <div data-my-skeleton>
Typestring

height

Required
Description

Height of the skeleton.

Typestring | number

interactionName

Description

An optional interactionName used to identify when this component is holding an interaction.

Typestring

isShimmering

Description

Enables the shimmering animation.

Defaultfalse
Typeboolean

ShimmeringEndColor

Description

Overrides the default shimmering ending color of skeleton.

Typestring

testId

Description

A test id for automated testing.

Typestring

width

Required
Description

Width of the skeleton.

Typestring | number
Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License