HTML
<template>
<lightning-badge label="Badge A" class="slds-badge_inverse"></lightning-badge>
<lightning-badge label="Badge B"></lightning-badge>
<lightning-badge label="Badge C"></lightning-badge>
</template>
JavaScript
import { LightningElement } from "lwc";
export default class BasicBadge extends LightningElement {}
Preview