The Loader component provides an infinite spinning animation for indicating loading states.
Loader
className
custom style
optional
SCSS or Tailwind
The Loader component uses the Icon component from 'components/lib' to display a loading icon.
Icon
'components/lib'
The className prop allows for custom styling to be applied.
Last updated 1 year ago
import { Loader } from 'components/lib'; function MyComponent({ ...props }){ return ( <div> <Loader /> </div> ); }