Spinner
A spinner component for loading states.
Importing
ts
import "@tapsioss/web-components/spinner";
ts
import { Spinner } from "@tapsioss/react-components/Spinner";
Component Usage
html
<tapsi-spinner></tapsi-spinner>
tsx
<Spinner />
Properties
Name | Description | Type | Default Value |
---|---|---|---|
size | Determines the size of the spinner. When set to 'auto', it inherits the size of its parent element. Otherwise, you can specify the size in pixels. | number | ${number} | "auto" | "auto" |