@smashing/badge
v1.0.2
Published
Component used to count notification
Downloads
3
Readme
yarn add @smashing/badge
Badge
Default appearance
<Badge color="Green">Green</Badge>
Solid appearance
<Badge color="Green" isSolid>
Green
</Badge>
Pills
Default appearance
<Pill color="red" marginLeft={8}>
24
</Pill>
Solid appearance
<Pill color="green" marginLeft={8} appearance="solid">
44
</Pill>