Priority Picker

A radio group of priority chips, Low, Medium, High and Urgent, each with a colored dot and aria-checked state. Built for issue trackers, tasks and ticket forms.

src/registry/ui/priority-picker.tsx/r/priority-picker.json

Installation#

bash
npx shadcn@latest add @minidev/priority-picker

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/priority-picker.json

Usage#

tsx
import { PriorityPicker } from "@/components/ui/priority-picker"

export function Example() {
  return (
    <PriorityPicker value={priority} onChange={setPriority} />
  )
}

API reference#

PriorityPicker props
PropTypeDefault
valuestring-
onChange(value: string) => void-
classNamestring-

Examples#

All kanban, timeline and workflow components

Learn more