Skip to main content

Skeleton

Skeleton is a placeholder that shows the shape of content while it loads, such as a profile card or an order summary.

Import

import { Skeleton } from '@vortexlabs/vortex-native';
import type { SkeletonProps } from '@vortexlabs/vortex-native';

Other links

Skeleton.Group

Skeleton.Group props
PropTypeDefaultAttributes
loading
boolean
true
animation
union
pulse
stagger
boolean
No default value
ariaLabel
string
Loading
children
React.ReactNode
No default value
style
StyleProp<ViewStyle>
No default value
attributes
object
No default value

Skeleton

Skeleton props
PropTypeDefaultAttributes
type
union
block
placeholder
React.ReactNode
No default value
width
DimensionValue
No default value
height
DimensionValue
No default value
borderRadius
Radius
full
children
React.ReactNode
No default value
loading
boolean
true
animation
union
pulse
ariaLabel
string
No default value
style
StyleProp<ViewStyle>
No default value
attributes
object
No default value

Skeleton.Text

Skeleton.Text props
PropTypeDefaultAttributes
size
union
md
children
string
No default value
width
DimensionValue
100%
loading
boolean
true
animation
union
pulse
ariaLabel
string
No default value
style
StyleProp<ViewStyle>
No default value
attributes
object
No default value