Skip to content
coatx
Esc
↑↓navigate↵open⌘Jpreview
On this page

Skeleton

Pulsing loading placeholder powered by StyleX keyframes.

Usage

import { skeleton } from "coatx/skeleton";

export const LoadingLine = () => (
  <div {...skeleton()} style="height:16px;width:220px" />
);

Exports (coatx/skeleton)

Export Description
skeleton(options?) Pulsing skeleton block
skeletonStyles Compiled StyleX style map

Was this page helpful?