Skip to content

Elements:Badges

tags are useful for displaying contextual messages to users on screen.

tags in headers

Example heading New

Example heading New

Example heading New

Example heading New

Example heading New
Example heading New

Styles

tags also come in the following styles using the .bg-COLOUR helpers..

secondary primary info success warning danger dark light green red blue purple pink orange brown slate olive teal charcoal

Pill style

Add the classes .badge & .rounded-pill to tags to make them display like a "pill".

secondary primary info success warning danger dark light green red blue purple pink orange brown slate olive teal charcoal

Positioned

Use utilities to modify a .badge and position it in the corner of a link or button.

<button type="button" class="btn btn-primary position-relative">
  Inbox
  <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger"> 99+ <span class="visually-hidden">unread messages</span> </span>
</button>
<button type="button" class="btn btn-primary position-relative">
  Profile 
  <span class="position-absolute top-0 start-100 translate-middle p-2 bg-danger border border-light rounded-circle"> <span class="visually-hidden">New alerts</span> </span>
</button>

Awesome Features

Beginner + developer friendly
Free Lifetime Upgrades
Fully Responsive
About Us

Making the web a prettier place one template at a time! We make beautiful, quality, responsive Drupal & web templates!

Find out more
Contact Us

019223 8092344

info@themelize.me

Sunshine House, Sunville. SUN12 8LU.

Colour Options

AppStrap comes with 11 pre-defined colour options which are shown below.

You can easily switch colours doing one of the following:

  1. via the config colourScheme option
  2. or via ./src/scss/_variables.scss defining a preset colour or by defining your own.


Cookies are NOT enabled so colour selection is not persistent.

To main homepage

To admin homepage

To intro page