Last updated 3 years ago
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)' }) ) }
Name
Type
Default
Description
size
string
"medium"
Size of spinner. Variants: small|medium|large|huge
color
"rgba(0,0,0,0.3)"
Color of the spinner. Hex, rgb, rgba or CSS-variables