Skip to content
vwc-badge / 2.30.3

vwc-badge 2.30.3

Install from the command line:
Learn more about npm packages
$ npm install @vonage/vwc-badge@2.30.3
Install via package.json:
"@vonage/vwc-badge": "2.30.3"

About this version

vwc-badge

Represents a badge custom element. badge is a label that holds small amounts of information. A badge can be used to display unread notifications, or to label a block of text. Badges don’t work for navigation because they can't include a hyperlink.

Properties

Property Attribute Type Default
connotation connotation Connotation.Primary | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Info | undefined
dense dense boolean false
enlarged enlarged boolean false
icon icon string | undefined
iconTrailing iconTrailing string | undefined
layout layout Layout.Filled | Layout.Outlined | Layout.Soft "filled"
shape shape Shape.Rounded | Shape.Pill | undefined
text text string | undefined

Slots

Name Description
default This is a default/unnamed slot to assign text content. deprecated please use text property instead

Details


Assets

  • vwc-badge-2.30.3-npm.tgz

Download activity

  • Total downloads 28
  • Last 30 days 0
  • Last week 0
  • Today 0