terra vidhal

Clinical Triage Board

Component

About

A clinical triage board with a severity-sorted queue, status lanes, waiting and critical filters, a critical review banner, vitals with warnings, severity editing, clinician reassignment, call-next, discharge and reopen actions.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Clinical Triage Board to your project and fits it to your theme.

Code

How Clinical Triage Board is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

/**
 * PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
 */

import {
  ClinicalTriageBoard,
  type Clinician,
  type TriagePatient,
} from "@/components/ui/clinical-triage-board";

const CLINICIANS: Clinician[] = [
  { id: "c1", name: "Dr. Avery Cole", role: "Emergency physician" },
  { id: "c2", name: "Dr. Jordan Pike", role: "Nurse practitioner" },
  { id: "c3", name: "Dr. Riley Chen", role: "Triage nurse" },
];

const PATIENTS: TriagePatient[] = [
  {
    id: "p1",
    name: "Mara Ellison",
    age: 34,
    complaint: "Shortness of breath",
    severity: 5,
    wait: 4,
    status: "waiting",
    vitals: { hr: 118, bp: "104/68", spo2: 91, temp: 37.6 },
  },
  {
    id: "p2",
    name: "Theo Nakamura",
    age: 58,
    complaint: "Chest tightness",
    severity: 4,
    wait: 9,
    status: "waiting",
    vitals: { hr: 96, bp: "142/88", spo2: 96, temp: 36.9 },
  },
  {
    id: "p3",
    name: "Lena Fischer",
    age: 27,
    complaint: "Ankle injury",
    severity: 2,
    wait: 18,
    status: "waiting",
    vitals: { hr: 78, bp: "118/74", spo2: 99, temp: 36.7 },
  },
  {
    id: "p4",
    name: "Sam Rivera",
    age: 41,
    complaint: "High fever",
    severity: 3,
    wait: 22,
    status: "waiting",
    vitals: { hr: 102, bp: "126/80", spo2: 97, temp: 38.6 },
  },
  {
    id: "p5",
    name: "Priya Raman",
    age: 63,
    complaint: "Medication review",
    severity: 2,
    wait: 31,
    status: "consult",
    clinicianId: "c2",
    vitals: { hr: 72, bp: "134/82", spo2: 98, temp: 36.5 },
  },
  {
    id: "p6",
    name: "Noah Bennett",
    age: 8,
    complaint: "Ear pain",
    severity: 3,
    wait: 12,
    status: "waiting",
    vitals: { hr: 110, bp: "100/64", spo2: 98, temp: 38.1 },
  },
  {
    id: "p7",
    name: "Casey Moreno",
    age: 46,
    complaint: "Laceration follow-up",
    severity: 1,
    wait: 44,
    status: "done",
    clinicianId: "c1",
    vitals: { hr: 68, bp: "120/76", spo2: 99, temp: 36.6 },
  },
];

export default function ClinicalTriageBoardDemo() {
  return (
    <main className="flex min-h-screen w-full items-start justify-center bg-gradient-to-b from-muted/40 via-background to-background px-4 py-8 sm:px-6">
      <ClinicalTriageBoard
        patients={PATIENTS}
        clinicians={CLINICIANS}
        title="Afternoon triage"
      />
    </main>
  );
}

Dependencies

More by terra vidhal

View all
  • Project Timeline

    Project Timeline

    30
  • Kanban Board

    Kanban Board

    20
  • Gravity Stars Background

    Gravity Stars Background

    20
  • Booking Calendar

    Booking Calendar

    18
  • Notification Center

    Notification Center

    16
  • Audio Waveform

    Audio Waveform

    16
  • Kpi Counter

    Kpi Counter

    16
  • Topographic Lines

    Topographic Lines

    16

Explore more

Part of PrequelUI Animate — browse the full library on 21st.dev.