Framework:
  • JavaScript / Vanilla JS
  • React.js
  • Vue.js
On this page

Loading...
## Contextual variations Add any of the below-mentioned `color` props to modify the presentation of a badge.
## Pill badges Apply the `shape="rounded-pill"` prop to make badges rounded.
## Positioned badges Use `position` prop to place a `c-badge` component it in the corner of a link or button.
| name | description | type | default | | ---- | ----------- | ---- | ------- | | `color` | Sets the color context of the component to one of CoreUI’s themed colors.| [`ColorsGradient`](../types/coreui_types.ColorsGradient.md) | | | `position` | Position badge in one of the corners of a link or button. | [`BadgePositions`](../types/coreui_types.BadgePositions.md) | | | `shape` | Select the shape of the component. | `string` | | | `size` | Size the component small. | `sm` | | | `textColor` | Sets the text color of the component to one of CoreUI’s themed colors. | `TextColors` | |
  • GitHub
  • Twitter
  • Support
  • CoreUI (Vanilla)
  • CoreUI for React.js
  • CoreUI for Vue.js

CoreUI for Angular is Open Source UI Components Library for Angular.

Currently v5.2.23 Code licensed MIT , docs CC BY 3.0 .
CoreUI PRO requires a commercial license.