# Spinner (مؤشر دوّار)

أيقونة تحميل دوّارة خفيفة. ثلاث درجات مسبقة لـ size أو رقم مخصص، وعند عدم تمرير color يُورَّث من currentColor.

مؤشر دوّار
<template>
  <div class="demo-col">
    <div class="demo-row" style="gap: 48px; flex-wrap: wrap">
      <div class="demo-col" style="align-items: center; gap: 8px">
        <LhSpinner size="small" />
        <span class="demo-note">small</span>
      </div>
      <div class="demo-col" style="align-items: center; gap: 8px">
        <LhSpinner />
        <span class="demo-note">default</span>
      </div>
      <div class="demo-col" style="align-items: center; gap: 8px">
        <LhSpinner size="large" />
        <span class="demo-note">large</span>
      </div>
      <div class="demo-col" style="align-items: center; gap: 8px">
        <LhSpinner :size="56" color="var(--lh-primary-color)" />
        <span class="demo-note">مخصص size=56 + color</span>
      </div>
    </div>
  </div>
</template>

# Props

خاصية الوصف النوع الافتراضي
size الحجم 'small' \| 'default' \| 'large' \| number 'default'
color لون الدوران (قيمة CSS لونية، وعند عدم تمريرها يُورَّث من currentColor) string —
sx خاصية sx المختصرة للتخطيط — —

Copyright © 2024-2026 FengMo WenXue