Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 669 Bytes

Badges.md

File metadata and controls

40 lines (26 loc) · 669 Bytes

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>
<a abp-badge="Info" href="#">Info</a>
<a abp-badge-pill="Danger" href="#">Danger</a>

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>