Badge

Colored informative pill

Import

import { Badge } from '@windmill/react-ui'

Type

There are five types, applied by the prop type: success, primary (default), danger, warning and neutral.

primaryneutralsuccessdangerwarning
live editor

Props overview

PropDescriptionTypeDefault
typedefine the color of componentsuccess, primary, danger, warning, neutralprimary

Customizing

See Customization to learn how to change defaultTheme styles.