Loading

Lets users know that content is being loaded.

Loading

To implement Loading component into your project you’ll need to add the import:

import Loading from "@kiwicom/orbit-components/lib/Loading";

After adding import into your project you can use it simply like:

<Loading />

Props

Table below contains all types of the props available for icons in general.

NameTypeDefaultDescription
childrenReact.NodeThe content of the Loading. See Functional specs
dataTeststringOptional prop for testing purposes.
idstringSet id for Loading
loadingbooleanfalseIf true, the Loading will be displayed. Loading which doesn’t have a children is always shown, even if loading prop is set to false.
typeenumThe type of the Loading.
textTranslationThe text of the Loading.

enum

type
"buttonLoader"
"searchLoader"
"boxLoader"
"pageLoader"
"inlineLoader"