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

1.8.0 • 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

400

Version

1.8.0

License

MIT

Unpacked Size

11.8 kB

Total Files

7

Last publish

Collaborators

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