Component primitive
Brand Tag
<brand-tag> wraps Web Awesome's <wa-tag>. Tags are pale tinted by default, use <brand-badge> for a solid label.
<brand-tag>Framework-agnostic custom element- Element
- <brand-tag>
- Library
- Brand
- Runtime
- Web Component
- Theming
- Semantic tokens
Variants
Sizes
Pill
Removable (filter chips)
Usage
import { BrandTag } from '@brandos/ui';
<brand-tag>Label</brand-tag>
<brand-tag variant="success" pill>Live</brand-tag>
<brand-tag variant="primary" removable>Filter: Snyder</brand-tag>
// JS
document.querySelector('brand-tag').addEventListener('wa-remove', (event) => {
event.target.remove();
});