@umbraco-ui/uui-badge
TypeScript icon, indicating that this package has built-in type declarations

1.12.2 • Public • Published

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>

Package Sidebar

Install

npm i @umbraco-ui/uui-badge

Weekly Downloads

984

Version

1.12.2

License

MIT

Unpacked Size

11.8 kB

Total Files

7

Last publish

Collaborators

  • nielslyngsoe
  • julczka
  • ijacob
  • madsrasmussen
  • umbraco-publish
  • warrenbuckley.umbraco