<script setup lang="ts">
import type { HTMLAttributes } from 'vue';
import { UiIcon } from '@/components/UiIcon';
import { cn } from '@/lib/utils';

const props = defineProps<{
  class?: HTMLAttributes['class'];
}>();
</script>

<template>
  <UiIcon
    name="loader-circle"
    :size="16"
    role="status"
    aria-label="Loading"
    :class="cn('animate-spin', props.class)"
  />
</template>
