<tap-badge>

Badge and indicator component. Supports numbers, dot indicator, maximum count threshold, and positioning over wrapped content.

Example

API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type Description
color(color) Yes StringList<'positive' | 'informative' | 'notice'>
count(count) Yes string Support number and string
dot(dot) Yes boolean
small(small) Yes boolean
max(max) Yes number
icon Yes string | Element | DocumentFragment

Other

Type Value
Slot unnamed
Part badge
CSS State inline