@blaze-react/badge

0.7.0 • Public • Published

## Description

Badges are small components typically used to communicate a numerical value or indicate the status of an item to the user.

## Usage

- Simple

<Badge type='primary'>Badge</Badge>

- Link

<Badge type='info' link>
    <a href='https://www.thebyte9.com/'>Go to byte9</a>
</Badge>

- Icon

<Badge type='pagebuilder' icon colour='deep-orange'>
    Social follow            
  <i className='fas fa-share' />
</Badge>

## API

##### Badges can receive a number of props as follow:

NAME TYPE DEFAULT Options
type String empty default, primary, secondary, success, alert, info, light, dark, link, pagebuilder
link Boolean false
icon Boolean false
color String empty blue, light-blue, deep-orange, orange, purple, deep-purple, pink, red, cyan, teal, green
modifiers String empty
children Single or array of nodes No content

Readme

Keywords

none

Package Sidebar

Install

npm i @blaze-react/badge

Weekly Downloads

117

Version

0.7.0

License

ISC

Unpacked Size

5.9 kB

Total Files

4

Last publish

Collaborators

  • mcabrerapf
  • tanane
  • daoyong
  • marekb9
  • grzegorzi
  • ishrat
  • andypail