Components
Ribbon
Play around with props, edit and copy code.
Parent div must be set to position: relative;
Branding
JackpotExampleJackpotExampleJackpotExample
How to create and implement a new branding
Internal use (Trinidad)
External use
Properties
RibbonCorner
| Prop name | Type | Default Value | Description |
|---|---|---|---|
| branding | string | Set branding | |
| children | node | Content | |
| className | string | Add custom classes | |
| size | union | Set size of the ribbon |
RibbonBanner
| Prop name | Type | Default Value | Description |
|---|---|---|---|
| branding | string | Set branding | |
| children | node | Content | |
| className | string | Add custom classes | |
| direction | union | Set position to left or right | |
| offsetTop | number | Distance in pixels from top | |
| size | union | Set size of the ribbon |
Accessibility
This component has been validated to meet the WCAG 2.1 AA accessibility guidelines.
