Spinner component for when you want to present loading
Since: 7.1.0 (6.2.0)
import {UISpiner} from 'writer' render($$) { const el = $$('div') return el.append( $$(UISpinner, { size: 'medium', color: 'rgba(0,0,0,0.3)' }) ) }
size
string
"medium"
Size of spinner. Variants: small|medium|large|huge|mega
color
"var(--dw-color-gray-700)"
Color of the spinner. Hex, rgb, rgba or CSS-variables