2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search docs...
Components

Skeleton

Updated: May 9, 2025
View on GitHub
Use Skeleton to maintain layout consistency and improve perceived performance during data loading states. Skeletons can be shaped as lines, circles, or blocks. Control the visual dimensions using predefined size tokens. Apply delay classes to stagger loading effects for multiple items.
Prop
Type
Default
shaperequired
A line of text, a circle, or a filled block.
linecircleblock
line
size
Height of a line, or diameter of a circle. Width comes from Flex.
xllmsxs
m
delay
Milliseconds before the shimmer starts, to stagger a set.
number
style
React.CSSProperties
className
string
…and every FlexProps propinherited
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club