frontend/app/components/ui/spinner/Spinner.vue

18 lines
386 B
Vue
Raw Permalink Normal View History

<script setup lang="ts">
import { Loader2Icon } from "lucide-vue-next";
import type { HTMLAttributes } from "vue";
import { cn } from "@/lib/utils";
const props = defineProps<{
class?: HTMLAttributes["class"];
}>();
</script>
<template>
2025-12-09 22:32:22 +01:00
<Loader2Icon
role="status"
aria-label="Loading"
:class="cn('size-4 animate-spin', props.class)"
/>
</template>