Badge provides a short label for describing elements.
Badge has a single variant by default, filled:
color
"primary"
size
"small" | "large"
variant
"filled"
You can use module augmentation to customize the TypeScript types for any of Badge's props:
declare module 'componentry/types/components/Badge/Badge' {
interface BadgePropsOverrides {
// ... overwrite any types for Badge props ...
}
}
.C9Y-Badge-base
.C9Y-Badge-filled
.C9Y-Badge-largeSize
.C9Y-Badge-smallSize