Badge

Used for buttons, numbers or status markers next to icons.

Usage

import { Badge } from 'rsuite';

Examples

Default

With content

Invisible

Independent Use

Props

<Badge>

Property Type(Default) Description
children React.Node Be wrapped component
classPrefix string ('badge') The prefix of the component CSS class
content string,number,React.Node Content info
maxCount number99 Max count number(Only valid if content is type number)
🎉 v5 is released! Head to the v5 documentation to get started.