Tag
Small tag labels to insert anywhere
To use the Tag component in your application, you need to import the BulmaTagModule
by adding the following lines to your app.module.ts
file.
Basic
To display the Tag component in your Angular application, use <bu-tag>
tag.
Component | Description | |
---|---|---|
bu-tag |
Parent Tag Component. |
Properties | Description | |
---|---|---|
theme |
Set the theme of the Tag | |
light |
Set the the light version of the theme, default value is false | |
size |
Set the size of the Tag | |
rounded |
Make the edges rounded, giving the tag a capsule like shape, default value is false | |
delete |
Render the tag as delete button, default value is false |
Default
Themes
You can change the theme of the tag using one the 10 theme options:
black
dark
light
white
primary
link
info
success
warning
danger
Light theme version
If you want to apply the light version of the theme, set the light
property to true
.
Sizes
You can set the size of the tag using one the 3 size options:
normal
medium
large
The default size is normal.
Rounded tags
If you want to make a rounded tag, set the rounded
property to true
.
Tags as delete buttons
If you want to to turn the tag into a delete button, set the delete
property to true
.
Combinations
You can append a delete button to the tag.