Payroc Design logo
  • Our brand
    Mission statement Personality Values Assets
  • Content guidelines
    Voice and tone Grammar and formatting Inclusive language Writing style guides
  • Design system
    Get started Essentials Components Patterns
Submit a design request
  1. Payroc design
  2. Design system
  3. Components
  4. Badges

Badges

Use badges to highlight individual words and provide additional information.

Anatomy

Diagram of the Badge component.
  1. Badge with text
  2. Badge with number

Example

Coded example

Primary Secondary Success Danger Warning Info

Code snippet

HTML JavaScript
									
<span class="badge badge-pill badge-primary">Primary</span>
<span class="badge badge-pill badge-secondary">Secondary</span>
<span class="badge badge-pill badge-success">Success</span>
<span class="badge badge-pill badge-danger">Danger</span>
<span class="badge badge-pill badge-warning">Warning</span>
<span class="badge badge-pill badge-info">Info</span>
        
								
									
None required
        
								

Figma prototype

Usage guide

Dos and don'ts

Only use them where necessary.

Try to use one word to make the badge clear. For example "ON" or "OFF".

Use colours to add extra meaning.

Use as a notification.

Use too long a sentence.

Use colours that are not already defined.

Payroc Design logo

Copyright © Payroc

    Our brand
  • Mission statement
  • Personality
  • Values
  • Assets
  • Brand Guide for Sales Partners
    Content guidelines
  • Voice and tone
  • Grammar and formatting
  • Inclusive lanugage
  • Writing style guides
    Design system
  • Get started
  • Essentials
  • Components
  • Patterns