improved loading screen with spinner

This commit is contained in:
Oliver Bryan
2025-12-22 15:44:18 +00:00
parent f35177699c
commit 01236ebb3e
4 changed files with 25 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
import { Loader2Icon, Loader } from "lucide-react";
import { cn } from "@/lib/utils";
function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
return (
<Loader
role="status"
aria-label="Loading"
className={cn("size-4 animate-spin", className)}
{...props}
/>
);
}
export { Spinner };