Badges

Introduction

abp-badge and abp-badge-pill are ABP Tag Helper attributes for a and span html tags.

Basic usage:

<span abp-badge="Primary">Primary</span>
[Info](/en/abp/latest/UI/AspNetCore/Tag-Helpers/#)
[Danger](/en/abp/latest/UI/AspNetCore/Tag-Helpers/#)

Demo

See the badges demo page to see it in action.

Values

  • Indicates the type of the badge. Should be one of the following values:

    • Default
    • Primary
    • Secondary
    • Success
    • Danger
    • Warning
    • Info
    • Light
    • Dark

Example:

<span abp-badge-pill="Danger">Danger</span>
In this document