Status tag
Status tag
Interactive example
<ic-status-taglabel="Neutral"status="neutral"></ic-status-tag><ic-status-taglabel="Success"status="success"></ic-status-tag><ic-status-taglabel="Warning"status="warning"></ic-status-tag><ic-status-taglabel="Error"status="danger"></ic-status-tag>
<IcStatusTaglabel="Neutral"status="neutral"/><IcStatusTaglabel="Success"status="success"/><IcStatusTaglabel="Warning"status="warning"/><IcStatusTaglabel="Error"status="danger"/>
Status tag details
Props
All components also accept native properties supported by the DOM, such asclassName
and
style
.
|
|
|
---|---|---|
|
The content rendered within the status tag. |
|
|
If |
|
|
|
|
|
The size of the status tag component. |
|
|
|
|
|
The colour of the status tag. |
|
|
The emphasis of the status tag. |
|
The content rendered within the status tag. |
If |
|
The size of the status tag component. |
|
The colour of the status tag. |
The emphasis of the status tag. |
Variants
Emphasis
Interactive example
<ic-status-taglabel="Neutral"status="neutral"variant="outlined"></ic-status-tag><ic-status-taglabel="Success"status="success"variant="outlined"></ic-status-tag><ic-status-taglabel="Warning"status="warning"variant="outlined"></ic-status-tag><ic-status-taglabel="Error"status="danger"variant="outlined"></ic-status-tag>
<IcStatusTaglabel="Neutral"status="neutral"variant="outlined"/><IcStatusTaglabel="Success"status="success"variant="outlined"/><IcStatusTaglabel="Warning"status="warning"variant="outlined"/><IcStatusTaglabel="Error"status="danger"variant="outlined"/>
Sizes
Interactive example
<ic-status-taglabel="Neutral"status="neutral"size="small"></ic-status-tag><ic-status-taglabel="Success"status="success"size="default"></ic-status-tag><ic-status-taglabel="Warning"status="warning"size="large"></ic-status-tag>
<IcStatusTaglabel="Neutral"status="neutral"size="small"/><IcStatusTaglabel="Success"status="success"size="default"/><IcStatusTaglabel="Warning"status="warning"size="large"/>