smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Actions and display

Skeleton

Shape-matching loading placeholder.

Public export

typescript
import { Skeleton } from '@happyvertical/smrt-ui/ui';
Import path
@happyvertical/smrt-ui/ui
Props
5
Props described
5 of 5
Bindable state
0
Callback events
0
Verified release
0.62.10

Props

NameTypeRequiredDescription
variantSkeletonVariantNoPlaceholder shape.
widthstringNoCSS width (e.g. '100%', '8rem').
heightstringNoCSS height (e.g. '1rem', '48px').
linesnumberNoNumber of lines for the `text` variant.
labelstringNoAccessible loading label.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation