Skip to Content
glob.ui home
Components

Skeleton

A placeholder shape shown while content loads.

Server componentNo state or handlers. Safe to render in a Server Component.
import { Skeleton } from "@glob-ui/skeleton"

Preview

API

Props are generated from the TypeScript types in the package source.

SkeletonProps

Prop

Type

Accessibility

Key or actionBehaviour
Screen readersaria-hidden. The skeleton is not announced.

ARIA. A skeleton is invisible to screen readers, so announce the loading state separately, for example with a Spinner that has an aria-label, or a visually hidden "Loading" text.

On this page