Loading

A loading message is a simple message that appears on the screen, informing the user that the app is performing an action in the background.

TypeResource
DesignFigma
WebWeb Storybook
CodeGitlab

Usage

import { Loading } from 'bio-bind-ui';
<Loading mode='light' size='md' type='spinner' />

Examples

Type (optional)

Use type to select a loading spinner, loading dot or loading horizontal.




Size (optional)

Use size to determine the size of the loading.






Mode (optional)

Use mode to use dark or light.


Props

PropsRequiredDefaultTypedescription
sizefalsemdxs, sm, md, lg, xlThe size of loading component (xs, sm, md, lg, xl).
typefalselinespinner , dot , horizontalThe type variant of the loading (spinner, dot , horizontal).
indicatorfalse-JSX.ElementUnique identifier for loading indicator.
modefalselightlight darkThe theme mode of the loading (light or dark).
BIND © Biofarma Innovate Next-level Design .