Loader

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

Preview

Gravity loader component

Usage

import { Loader } from 'components/lib';

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

Props

Prop
Description
Required
Value

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

Was this helpful?