Skip to content

Ribbon

Flags a card. The ribbon is absolutely positioned, so place it inside a positioned parent such as a Card.

position is end (the default, the top-right corner), start, top, top-start, bottom or bottom-start:

bookmark turns the ribbon into a bookmark with a notched end:

Without variant, the ribbon uses Tabler’s default color, the primary one.

Prop Type Default Description
variant string? null Background: primary secondary success danger warning info dark light
position string 'end' end start top top-start bottom bottom-start
bookmark bool false Bookmark style (ribbon-bookmark)

Other attributes go to the root <div class="ribbon">. Any other variant value renders no color class.

Block Default
content Empty: the children, a short label or an icon