Skip to content
العربية
Feedback

Spinner

Loading indicator from the % mark. Opacity only, so it also plays with reduced motion. With a provider brand it shows the brand's spinner, else a plain ring.

import { Spinner } from "@percentsa/ui";

Examples

LoadingLoadingLoading
Code
export function SpinnerExample() {
  return (
    <Inline gap={6}>
      <Spinner />
      <Spinner className="h-8" />
      <Spinner className="h-12" />
    </Inline>
  );
}