PlumaBadge renders a numeric label to indicate the quantity of an item or content.

Importing

The component can be imported via:

import { Badge } from '@customerio/pluma-components/react';

Usage

123
<Badge>123</Badge>

Variations

PlumaBadge supports an outlined and an emphasized variant via the isOutline and isEmphasized props:

123
<Badge>123</Badge>
123
<Badge isOutline={true}>123</Badge>
123
<Badge isEmphasized={true}>123</Badge>
123
<Badge isOutline={true} isEmphasized={true}>123</Badge>

API

PlumaBadge extends Box

Whether the badge should render in "emphasis" variant

Whether the badge should render in the "outlined" variant

On this page