Create a <Label>label</Label>
to highlight information
Label New
<div> <h1> Label <Label>New</Label> </h1> <h2> Label <Label>New</Label> </h2> <h3> Label <Label>New</Label> </h3> <h4> Label <Label>New</Label> </h4> <h5> Label <Label>New</Label> </h5> <p> Label <Label>New</Label> </p> </div>;
Add any of the below mentioned modifier classes to change the appearance of a label.
<div> <Label bsStyle="default">Default</Label>{' '} <Label bsStyle="primary">Primary</Label>{' '} <Label bsStyle="success">Success</Label> <Label bsStyle="info">Info</Label>{' '} <Label bsStyle="warning">Warning</Label>{' '} <Label bsStyle="danger">Danger</Label> </div>;
Name | Type | Default | Description |
---|---|---|---|
bsStyle | one of: "success" , "warning" , "danger" , "info" , "default" , "primary" | 'default' | Component visual or contextual style variants. |
bsClass | string | 'label' | Base CSS class and prefix for the component. Generally one should only change |