Argent

Badge

A small mark for a status or label.

neutralsuccesswarningdangerinfo
neutralsuccesswarningdangerinfo
import { Badge } from '@rajatweb/argent'

<Badge>New</Badge>
<Badge tone="success" variant="solid">Paid</Badge>

Props

PropTypeDefaultWhat it does
tone'neutral' | 'success' | 'warning' | 'danger' | 'info''neutral'
variant'soft' | 'solid''soft'

Accessibility

  • The word carries the meaning, not the colour.

Do

  • Use one word.

Don’t

  • Make it look pressable.