Issue Key

A monospace ticket identifier such as MD-241 that renders as plain text or, given an href, as a link with an accent hover underline. For issue lists.

src/registry/ui/issue-key.tsx/r/issue-key.json

Installation#

bash
npx shadcn@latest add @minidev/issue-key

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/issue-key.json

Usage#

tsx
import { IssueKey } from "@/components/ui/issue-key"

export function Example() {
  return (
    <IssueKey value="MD-88" href="#" />
  )
}

API reference#

IssueKey props
PropTypeDefault
value*string-
classNamestring-
hrefstring-

* required

Examples#

All kanban, timeline and workflow components