Preview the component on Storybook
npm i @umbraco-ui/uui-badge
Import the registration of <uui-badge>
via:
import '@umbraco-ui/uui-badge';
When looking to leverage the UUIBadgeElement
base class as a type and/or for extension purposes, do so via:
import { UUIBadgeElement } from '@umbraco-ui/uui-badge';
<uui-badge color="danger">!</uui-badge>