Loader

The Loader component provides an infinite spinning animation for indicating loading states.

Preview

Usage

import { Loader } from 'components/lib';

function MyComponent({ ...props }){
  return (
    <div>
      <Loader />
    </div>
  );
}

Props

PropDescriptionRequiredValue

className

custom style

optional

SCSS or Tailwind

Notes

  • The Loader component uses the Icon component from 'components/lib' to display a loading icon.

  • The className prop allows for custom styling to be applied.

Last updated