Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.46 KB

ListItemTag.md

File metadata and controls

46 lines (33 loc) · 1.46 KB

List Item Tag

The <blui-list-item-tag> is a text item with a colored background and rounded corners that is used to tag lists.

Info List Items in a variety of styles

Usage

// app.module.ts
import { ListItemTagModule } from '@brightlayer-ui/angular-components';
...
imports: [
    ListItemTagModule
  ],
...
// your-component.html
<blui-list-item-tag label="Sample Label" backgroundColor="black" fontColor="gold"> </blui-list-item-tag>

API

Parent element (blui-list-item-tag) attributes:

@Input Description Type Required Default
backgroundColor Color of the label background string no
fontColor Color of the label string no
label The label text string yes

Classes

Each Brightlayer UI component has classes which can be used to override component styles:

Name Description
blui-list-item-tag Styles applied to the tag
blui-list-item-tag-content Styles applied to the root element
blui-list-item-tag-label Styles applied to the label @Input