aboutsummaryrefslogtreecommitdiff
path: root/lume/src/_components/LoadingSpinner.jsx
blob: 826af163b96b151f997c5675d7a8016c2010fcbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
export default function LoadingSpinner() {
    return (
        <div
            class="inline-block mt-2 h-8 w-8 animate-spin rounded-full border-4 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"
            role="status"
        >
            <span class="!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]">
                Loading...
            </span>
        </div>
    );
}