Skip to content

IssueTypeBadge

The kind of an issue as a glyph and a word: bug, feature, task, improvement or epic. Pass icon for a kind the app defines itself.

  • IssueTypeBadge

PreviewLink to the section Preview

Live in all three themes. Everything here is interactive.

Light theme, IssueTypeBadge

BugFeatureTaskImprovementEpicBug

Dark theme, IssueTypeBadge

BugFeatureTaskImprovementEpicBug

High contrast theme, IssueTypeBadge

BugFeatureTaskImprovementEpicBug

UsageLink to the section Usage

tsx
import { IssueTypeBadge } from '@skribly/ui/tracker'
tsx
<IssueTypeBadge kind="bug" label={t('types.bug')} />

Every label is a prop, so the app passes its own words in its own language. See no built-in text.

AccessibilityLink to the section Accessibility

  • Each kind has its own glyph shape, hidden from screen readers; the word carries the meaning and stays for screen readers when compact hides it.

This demo runs through axe in all three themes on every test run. See what the tests check.

Search this site

Arrows move through the results, Enter opens one, Esc closes. Ctrl K /