import * as React from "react"; import {cn} from "@/lib/utilities"; import styles from "./spinner.module.css"; /** * Props for the {@link Spinner} component. */ export type SpinnerProps = React.ComponentPropsWithoutRef<"svg">; /** * Renders an animated loading indicator. * * @remarks * - Pure CSS component (no Base UI primitive) * - Renders an `` element * - Styling via CSS Modules with `--ac-*` custom properties * * @example * ```tsx * * ``` * * @see {@link SpinnerProps} for available props */ const Spinner = React.forwardRef( ({children, className, ...props}: Readonly, ref): React.JSX.Element => ( {children} ), ); Spinner.displayName = "Spinner"; export {Spinner};