MiHCM
feedback/@mihcm/ui·v0.21.0·stable

Skeleton

Pulsing placeholder for loading states. Always prefer skeletons over spinners to preserve layout.

Live preview

Adjust the controls on the right; the preview and code update in real time.

example.tsxtsx
import { Skeleton } from '@mihcm/ui/Skeleton';

export function Example() {
  return (
    <Skeleton
  shape="rectangle"
    ></Skeleton>
  );
}

Install

Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.

npx @mihcm/cli add Skeleton
Copies the source into components/ds/Skeleton.tsx. You own the file. Use --out to override the directory or --force to overwrite.