Spinner
Palette Spinner component is use to render a spinner in the user interface, this mainly acts as a loading indicator while performing asynchronous tasks
#
UsageBy default Palette Spinner renders a spinner with size default
and color #5851ff
#
Code#
SizeBy default the Spinner Component has a size of default
. The Palette Button component has four size
variants
small
default
medium
large
#
Code#
ColorBy default the Spinner Component has a color of #5851ff
. The Palette Spinner component has a color prop which accepts a string value which can accept the color for the spinner component
#
Code#
APIProp | Type | Possible values | Default Value |
---|---|---|---|
type | string | "default" ,"success" ,"warning" , "danger" and "info" | "default" |
color | string | Any string with color accepted valuevalue | "" |
Built by Akshay 🤙