DUI
⌘K

Components / Data display

DepartmentDot

Department color indicator built on ColorDot.

Preview

engineeringmarketingsales
1import { DepartmentDot } from "@/components/ui/department-dot"2
3export function DepartmentDotDemo() {4  return <DepartmentDot department="engineering" showLabel />5}

Installation

Add the source directly to your project with the shadcn CLI.

npx shadcn@latest add qentrah/DUI/department-dot

Usage

Install the component, import it from your configured UI directory, and adapt the source to your product. Open the source panel under any example to copy that exact variant.