State label

State label is used for rendering the status of an item.

On this page

On this page

Usage

Use state label to show the status of an issue or pull request.

Anatomy

State label showing an open and merged label

Types and states

The State label variant can be used for issues, which uses the issues icon, or pull requests, which uses the pull request icon.

Status for the State label can be one of the following options: draft (gray), open (green), closed (purple for issues and red for pull requests), or merged (purple, used for pull requests only).

State label displayed for issues and pull requestsState labels displayed in all status variations, including draft, open, closed, and merged.