Twigs Logo

Circle Loader

Animated circular loading indicator with customizable sizes and colors. Perfect for showing loading states in buttons, forms, and other UI elements.

Import

import { CircleLoader } from "@sparrowengg/twigs-react";

Usage

const CircleLoaderExample = () => {
  return (
    <Box css={{ display: "flex", gap: "$4", alignItems: "center" }}>
      <CircleLoader size="sm" />
      <CircleLoader size="md" color="secondary" />
      <CircleLoader size="lg" color="accent" />
    </Box>
  );
};

Props

CircleLoader

PropTypeDefault
size?
'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl'
'md'
color?
'primary' | 'secondary' | 'bright' | 'negative' | 'accent'
'primary'
css?
object
-