With the badge you can mark or highlight an element with a special meaning. A obvious example is the 'Coming soon' badge in the evalink marketplace.
...
import { SomeComponent } from './some.component';
//Import from evalink cause
import { CauseBadgeModule } from '@evalink/cause';
...
@NgModule({
declarations: [
SomeComponent
],
imports: [
...
CauseCardModule,
// Import the CauseBadgeModule into the module
CauseBadgeModule,
...
]
})
export class SomeModule {}
<cause-card class="relative">
<cause-badge>Coming soon</cause-badge>
...
</cause-card>
export enum BadgePosition {
TopLeft = 'cause-badge--top-left',
TopRight = 'cause-badge--top-right',
BottomLeft = 'cause-badge--bottom-left',
BottomRight = 'cause-badge--bottom-right',
}