Licence
MIT
Version
9.5.5
Deps
7
Size
325 kB
Vulns
0
Weekly
0
@iqvizyonui/react-badge
Badge components for Iqvizyon UI
A badge is an additional visual descriptor for UI elements. It can be used to denote numerical value, status or general information.
Usage
To import Badge:
import { Badge, CounterBadge, PresenceBadge } from '@iqvizyonui/react-components';
Examples
<Badge>999+</Badge>
<Badge appearance="filled">999+</Badge>
<Badge shape="rounded" />
<Badge size="medium" icon={<PasteIcon />} />
<CounterBadge count={5} appearance="ghost" />
<CounterBadge count={0} dot />
<CounterBadge count={5} size="extra-large" />
<PresenceBadge status="available" />
<PresenceBadge status="away" />
<PresenceBadge outOfOffice status="do-not-disturb" />
See Iqvizyon UI Storybook for more detailed usage examples.
Alternatively, run Storybook locally with:
yarn start- Select
react-badgefrom the list.
Specification
See SPEC.md.