Ribbons

Ribbons are graphical elements which attract users' attention to a given element of an interface and make it stand out.

Default markup

Use the ribbon class to add the default ribbon to any section of your interface.

Download more icon variants from https://tabler-icons.io/i/star
<div class="card">
  <div class="card-body" style="height: 5rem">
  </div>
  <div class="ribbon">
    <!-- Download SVG icon from http://tabler-icons.io/i/star -->
    <!-- SVG icon code -->
  </div>
</div>

Ribbon position

You can change the position of a ribbon by adding one of the following classes to the element:

  • ribbon-top - moves it to the top
  • ribbon-end - moves it to the right
  • ribbon-bottom - moves it to the bottom
  • ribbon-start - moves it to the left

Using multiple classes at once will give you more position options. For example, the following class: .ribbon.ribbon-top.ribbon-left will move the ribbon to the top left corner.

Download more icon variants from https://tabler-icons.io/i/star
<div class="card">
  <div class="card-body" style="height: 5rem">
  </div>
  <div class="ribbon ribbon-top ribbon-start">
    <!-- Download SVG icon from http://tabler-icons.io/i/star -->
    <!-- SVG icon code -->
  </div>
</div>

Ribbon color

Customize the ribbon’s background color. You can click here to see the list of available colors.

Download more icon variants from https://tabler-icons.io/i/star
<div class="card">
  <div class="card-body" style="height: 5rem">
  </div>
  <div class="ribbon bg-red">
    <!-- Download SVG icon from http://tabler-icons.io/i/star -->
    <!-- SVG icon code -->
  </div>
</div>

Ribbon text

Add your own text to a ribbon to display any additional information and make it easy to spot for users.

Download more icon variants from https://tabler-icons.io/i/star
<div class="card">
  <div class="card-body" style="height: 5rem">
  </div>
  <div class="ribbon bg-green">
    <!-- Download SVG icon from http://tabler-icons.io/i/star -->
    <!-- SVG icon code -->
  </div>
</div>

Ribbon style

Change the style of a ribbon to make it go well with your interface design.

Download more icon variants from https://tabler-icons.io/i/star
<div class="card">
  <div class="card-body" style="height: 5rem">
  </div>
  <div class="ribbon ribbon-bookmark bg-orange">
    <!-- Download SVG icon from http://tabler-icons.io/i/star -->
    <!-- SVG icon code -->
  </div>
</div>