Skip to main content

Loader

Loader is used to notify a user that data is being retrieved or processed behind the scenes.

Live Editor
function LoaderExample() {
  return (
    <Loader
      text="Content Loading"
      delay={false}
    />
  );
}

Properties

NameTypeDefaultDescriptionRequired?
size
| "small"
| "large"
"large"
textstring""Text for the loader. This text is not visible, but is used for accessibility purposed
delaybooleantrueWhether the loader should wait 2 seconds before it displays
color
| "light"
| "dark"
"dark"The color utility parses a component's `color` and `bg` props and converts them into CSS declarations. By default the raw value of the prop is returned. Color palettes can be configured with the ThemeProvider to use keys as prop values, with support for dot notation. Array values are converted into responsive values. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/color)
qaobject

Properties

info

Full property documentation will be added soon.