oks-ui

Layout & Display

Skeleton

Loading placeholder, as a shaped block or a wrapper that reveals its content once loaded.

Example

Real content — revealed when isLoaded flips.

Props

variant

"text" | "rect" | "circle"

Default: rect

Shape of a standalone placeholder.

width

number | string

Default:

CSS length (number → px).

height

number | string

Default:

CSS length (number → px).

radius

OksRadius

Default:

Corner radius override.