Skeleton

Loading placeholders in the shape of the content they stand in for, a block or a circle.

import { Skeleton } from "@plexui/react-native"

Examples

Overview

Platforms

iOS 26Android
Native componentRedacted placeholder (.redacted)None: Material 3's loading indicator is a different component
LookGray blocks in the shape of the content, pulsingLight gray blocks with 4dp corners and one shimmer down the screen across all of them

Skeleton.Text redacts a run of words inside a Text: a still band of the skeleton's color behind each line the words take, as wide as they are, the words unseen. It does not pulse: hidden words are kept back, not loading. Give it stand-in words of the length, never the hidden ones, and give the paragraph an accessibilityLabel that says what is hidden, as a phone reads a paragraph as one string with its nested runs (a browser leaves the run unread): <Text accessibilityLabel="Total hidden a month">Total <Skeleton.Text>$0,000.00</Skeleton.Text> a month</Text>.

API

PropTypeDefaultDescription
circlebooleanfalseA circle as wide as it is tall, the place of an avatar
widthDimensionValue"100%"Width in points or as a percentage; a circle without one is as wide as its height
heightDimensionValue16Height in points or as a percentage
animatedbooleantruefalse stands still: a redacted placeholder, as iOS draws hidden text, for content kept back rather than loading, which a pulse or a shimmer would read as
testIDstring—Test id
styleStyleProp<ViewStyle>—Style of the block, such as a larger radius