Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 681 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 681 Bytes

uui-badge

npm

See it in action

Preview the component on Storybook

Installation

ES imports

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';

Usage

<uui-badge color="danger">!</uui-badge>