Skip to content


Use StateLabel components to show the status of an issue or pull request.

Default example


System props

System props are deprecated in all components except Box. Please use the sx prop instead.

StateLabel components get COMMON system props. Read our System Props doc page for a full list of available props.

Component props

variantString'normal'a value of small or normal results in a smaller or larger version of the StateLabel.
statusStringCan be one of issueOpened, issueClosed, pullOpened, pullClosed, pullMerged, or draft.
Edit this page on GitHub
4 contributorsVanAndersonBinaryMusetiaanduplessisemplums
Last edited by VanAnderson on July 22, 2021