ObjectUIObjectUI
ComponentsFeedback

Loading

Loading spinner to indicate processing

Examples

Basic Loading

With Text

Loading...

Schema

interface LoadingSchema {
  type: 'loading';
  label?: string;                 // Text drawn under the spinner
  size?: 'sm' | 'md' | 'lg';
  className?: string;
}

The message under the spinner is label, the key LoadingSchema declares. Until objectui#11347 the renderer read an undeclared text instead and left label inert. text is not a key of this node: write label.

On this page