
```jsx
import { CSpinner } from '@coreui/react'
// or
import CSpinner from '@coreui/react/src/components/spinner/CSpinner'
```

<div className="table-responsive table-api border rounded mb-3">
  <table className="table">
    <thead>
      <tr>
        <th>Property</th>
        <th>Default</th>
        <th>Type</th>
      </tr>
    </thead>
    <tbody>
      <tr id="cspinner-as">
        <td className="text-primary fw-semibold">as<a href="#cspinner-as" aria-label="CSpinner as permalink" className="anchor-link after">#</a></td>
        <td><code>{`div`}</code></td>
        <td><code>{`(ElementType & 'symbol')`}</code>, <code>{`(ElementType & 'object')`}</code>, <code>{`(ElementType & 'div')`}</code>, <code>{`(ElementType & 'slot')`}</code>, <code>{`(ElementType & 'style')`}</code>, <code>{`... 174 more ...`}</code>, <code>{`(ElementType & FunctionComponent<...>)`}</code></td>
      </tr>
      <tr>
        <td colSpan="3">
          <p>Component used for the root node. Either a string to use a HTML element or a component.</p>
        </td>
      </tr>
      <tr id="cspinner-class-name">
        <td className="text-primary fw-semibold">className<a href="#cspinner-class-name" aria-label="CSpinner className permalink" className="anchor-link after">#</a></td>
        <td>-</td>
        <td><code>{`string`}</code></td>
      </tr>
      <tr>
        <td colSpan="3">
          <p>A string of all className you want applied to the component.</p>
        </td>
      </tr>
      <tr id="cspinner-color">
        <td className="text-primary fw-semibold">color<a href="#cspinner-color" aria-label="CSpinner color permalink" className="anchor-link after">#</a></td>
        <td>-</td>
        <td><code>{`'primary'`}</code>, <code>{`'secondary'`}</code>, <code>{`'success'`}</code>, <code>{`'danger'`}</code>, <code>{`'warning'`}</code>, <code>{`'info'`}</code>, <code>{`'dark'`}</code>, <code>{`'light'`}</code>, <code>{`string`}</code></td>
      </tr>
      <tr>
        <td colSpan="3">
          <p>Sets the color context of the component to one of CoreUI’s themed colors.</p>
        </td>
      </tr>
      <tr id="cspinner-size">
        <td className="text-primary fw-semibold">size<a href="#cspinner-size" aria-label="CSpinner size permalink" className="anchor-link after">#</a></td>
        <td>-</td>
        <td><code>{`'sm'`}</code></td>
      </tr>
      <tr>
        <td colSpan="3">
          <p>Size the component small.</p>
        </td>
      </tr>
      <tr id="cspinner-variant">
        <td className="text-primary fw-semibold">variant<a href="#cspinner-variant" aria-label="CSpinner variant permalink" className="anchor-link after">#</a></td>
        <td><code>{`border`}</code></td>
        <td><code>{`'border'`}</code>, <code>{`'grow'`}</code></td>
      </tr>
      <tr>
        <td colSpan="3">
          <p>Set the button variant to an outlined button or a ghost button.</p>
        </td>
      </tr>
      <tr id="cspinner-visually-hidden-label">
        <td className="text-primary fw-semibold">visuallyHiddenLabel<a href="#cspinner-visually-hidden-label" aria-label="CSpinner visuallyHiddenLabel permalink" className="anchor-link after">#</a></td>
        <td><code>{`Loading...`}</code></td>
        <td><code>{`string`}</code></td>
      </tr>
      <tr>
        <td colSpan="3">
          <p>Set visually hidden label for accessibility purposes.</p>
        </td>
      </tr>
    </tbody>
  </table>
</div>
