Examples
Basic
PR
Label
| Prop | Default | Type | Description | 
|---|---|---|---|
| label | - | string | The label of the indicator. | 
11
NewNew
PR1 message1 message
Variant
| Prop | Default | Type | Description | 
|---|---|---|---|
| indicator | solid | {variant} | The variant of the indicator. | 
| Variant | Description | 
|---|---|
| solid | The default variant. | 
| ~ | The unstyle or base variant | 
Color
| Prop | Default | Type | Description | 
|---|---|---|---|
| indicator | {variant}-primary | {variant}-{color} | The color of the indicator. | 
PR
Ping
| Prop | Default | Type | Description | 
|---|---|---|---|
| ping | false | boolean | Enable the ping animation. | 
PR
Size
| Prop | Default | Type | Description | 
|---|---|---|---|
| size | md | string | The size of the indicator. | 
PR
PR
Visibility
| Prop | Default | Type | Description | 
|---|---|---|---|
| visible | true | boolean | Show or hide the indicator. | 
11
Placement
| Prop | Default | Type | Description | 
|---|---|---|---|
| indicator | top-right | {placement} | The position of the indicator. | 
| Placement | Description | 
|---|---|
| top-right | Position indicator top right. | 
| top-left | Position indicator top left. | 
| bottom-right | Position indicator bottom right. | 
| bottom-left | Position indicator bottom left. | 
TR
BR
TL
BL
Slots
| Name | Props | Description | 
|---|---|---|
| default | - | The content of the indicator. | 
| indicator | - | The entire indicator, this will reset including the position. | 
| label | - | The label of the indicator. | 
Presets
 shortcuts/indicator.ts 
Props
 types/indicator.ts 
