# Spinner
A loading spinner with custom type, size and color.
# Import
import { spinner } from "deft-ui";
Vue.component(spinner.name, spinner);
# Example
Custom type
Copy
Custom color
Copy
Custom size
Copy
# API
option | description | type | acceptable values | default |
---|---|---|---|---|
type | type of the spinner. Accepts a name(String) or an index(Number) | String, Number | snake double-bounce triple-bounce fading-circle | snake |
color | color of the spinner. Hex and RGB format accepted | String | #ccc | |
size | size of the spinner(in pixel) | Number | 28 |
← Cell tab-container →