Loader
Loader
Use the Loader
component to let the user know that a process is happening or something is loading. Loader
renders a responsive box-model layout component.
Import component
import { Loader } from 'rimble-ui';
Examples
Default
Loader with background
Custom size
Custom colour
Custom size with color and background
Custom background
Black loader
Props
bg
(optional)
Default value:
'transparent'
color
(optional)
Default value:
'primary'
size
(optional)
Default value:
'1rem'
Styled System Props
Loader
uses COMMON
, LAYOUT
, POSITION
, FLEXBOX
, BORDERS
groups of Styled System props.