Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
React Native docs
FeedbackReact Native

Skeleton

Represent loading text, rectangles, and circles with quiet semantic placeholders.

Public APILumenSkeletonReact Native

Native example

Use Skeleton

Use several decorative shapes inside one labeled loading region, or label a single skeleton when it is the only loading indicator. Do not announce every placeholder line.

View verified React Native runtime capture
Skeleton rendered in the Expo web renderer Lumen playground
Verified runtime captureExpo web renderer
tsx
<LumenSkeleton
  height={16}
  label="Loading profile"
/>

Reference

Public API

The primary shared and platform-specific options exposed by LumenSkeleton.

APIValues or typeDefaultDescription
shapetext · rectangle · circletextSelects the placeholder geometry.
widthDimensionValue100%Controls native width; circles use their height when omitted.
heightnumber16Provides a positive finite height; invalid values normalize to 16.
labelString?nilExposes an indeterminate loading state instead of decorative content.

Native behavior

Design and accessibility

When to use it

Use several decorative shapes inside one labeled loading region, or label a single skeleton when it is the only loading indicator. Do not announce every placeholder line.

Accessibility

The placeholder is decorative by default. A concise label exposes one indeterminate loading state when surrounding content does not already do so.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose
React Native docsNative primitives