Closed buseselvi closed 3 months ago
Spinner Design Document
General usage example:
<bl-spinner></bl-spinner>
Default size is var(--bl-font-size-m) and default color is var(--bl-color-primary). But any size and color can be set like this:
var(--bl-font-size-m)
var(--bl-color-primary)
<bl-spinner size="32px" color="#FFF"></bl-spinner>
The color and size can be set like this:
<bl-spinner size="3rem" color="var(--bl-color-success)"></bl-spinner>
The disabled can be set like this:
<bl-spinner disabled></bl-spinner>
The overlay can be set like this:
<bl-spinner overlay size="var(--bl-font-size-l)" color="var(--bl-color-secondary)"></bl-spinner>
size
3rem
32px
color
disabled
false
overlay
Figma Design Document
Spinner Design Document
Implementation
General usage example:
Rules
Usage Examples
Default size is
var(--bl-font-size-m)
and default color isvar(--bl-color-primary)
. But any size and color can be set like this:The color and size can be set like this:
The disabled can be set like this:
The overlay can be set like this:
API Reference
Attributes
size
3rem
,32px
,var(--bl-font-size-m)
)var(--bl-font-size-m)
color
var(--bl-color-primary)
disabled
false
overlay
false