Version
Language

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/5.0/UI/AspNetCore/Tag-Helpers/#)
[Danger](/en/abp/5.0/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>
Was this page helpful?
Please make a selection.
Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.