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. |
|
|
Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component. |
|
|
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. |
Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component. |
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="medium"></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="medium"/><IcStatusTaglabel="Warning"status="warning"size="large"/>
Large
Interactive example
<ic-status-taglabel="Neutral"status="neutral"size="large"></ic-status-tag><ic-status-taglabel="Success"status="success"size="large"></ic-status-tag><ic-status-taglabel="Warning"status="warning"size="large"></ic-status-tag><ic-status-taglabel="Error"status="danger"size="large"></ic-status-tag>
<IcStatusTaglabel="Neutral"status="neutral"size="large"/><IcStatusTaglabel="Success"status="success"size="large"/><IcStatusTaglabel="Warning"status="warning"size="large"/><IcStatusTaglabel="Error"status="danger"size="large"/>
Theme
Interactive example
<ic-status-taglabel="Neutral"status="neutral"theme="dark"></ic-status-tag><ic-status-taglabel="Success"status="success"theme="dark"></ic-status-tag><ic-status-taglabel="Warning"status="warning"theme="dark"></ic-status-tag><ic-status-taglabel="Error"status="danger"theme="dark"></ic-status-tag>
<IcStatusTaglabel="Neutral"status="neutral"/><IcStatusTaglabel="Success"status="success"theme="dark"/><IcStatusTaglabel="Warning"status="warning"theme="dark"/><IcStatusTaglabel="Error"status="danger"theme="dark"/>