Skip to contentVibraUI
4 pagesopens at /clinic

Clinic

A clinic's day: the appointments, the patients, the doctors and how full the schedule is.

Preview
/clinic

Install

The whole dashboard — every page under one sidebar, the sample data they read — is one command. Or take a page at a time: each one brings the sidebar with it.

npx shadcn@latest add @vibra/clinic
  • /clinicClinic dashboard
    npx shadcn@latest add @vibra/clinic-overview
  • /clinic/appointmentsAppointment book
    npx shadcn@latest add @vibra/clinic-appointments
  • /clinic/patientsPatient list
    npx shadcn@latest add @vibra/clinic-patients
  • /clinic/doctorsDoctors
    npx shadcn@latest add @vibra/clinic-doctors

Widgets

Single cards cut from these pages, each installed on its own.

  • The Clinic headline card
    npx shadcn@latest add @vibra/widget-clinic-overview-clinic-stats
    From Clinic dashboard

    Clinic headline

    Appointments, new patients, procedures done and the revenue they earned over the last thirty days, each against the thirty before; reads clinicStats().

  • The Visits by department card
    npx shadcn@latest add @vibra/widget-clinic-overview-visits-chart
    From Clinic dashboard

    Visits by department

    Six months of visits to the three busiest departments, a line each, turned back a year from its select; reads visitsByDepartment().

  • The Patients by department card
    npx shadcn@latest add @vibra/widget-clinic-overview-department-donut
    From Clinic dashboard

    Patients by department

    Everyone the clinic has seen, by the department that saw them, as a donut with the total in its centre; reads patientsByDepartment().

  • The Clinic calendar card
    npx shadcn@latest add @vibra/widget-clinic-overview-clinic-calendar
    From Clinic dashboard

    Clinic calendar

    The month with a count on every day that has visits, and the picked day's patients, doctors and times under it; reads appointmentsByDay().

  • The Desk notes card
    npx shadcn@latest add @vibra/widget-clinic-overview-clinic-notes
    From Clinic dashboard

    Desk notes

    The desk's pinboard, newest first, and a field that pins a note through the server, a blank one refused where it was typed; reads clinicNotes().

  • The Top procedures card
    npx shadcn@latest add @vibra/widget-clinic-overview-top-procedures
    From Clinic dashboard

    Top procedures

    The five procedures booked most often as one split bar, then each with its count and its share; reads topProcedures().

  • The Upcoming appointments card
    npx shadcn@latest add @vibra/widget-clinic-overview-appointments-table
    From Clinic dashboard

    Upcoming appointments

    Everything booked from now on, soonest first and searchable by patient, a visit due today checked in from its row through the server; reads upcomingAppointments().

  • The Recent procedures card
    npx shadcn@latest add @vibra/widget-clinic-overview-recent-procedures
    From Clinic dashboard

    Recent procedures

    The six procedures finished most recently, newest first, each with the patient and the day; reads recentProcedures().

  • The Appointment figures card
    npx shadcn@latest add @vibra/widget-clinic-appointments-visit-figures
    From Appointment book

    Appointment figures

    Today's visits and how many are in or done, what is booked from now on and the clinic time it takes, the month's visits and new patients, and the share cancelled; reads visitRows().

  • The Patient figures card
    npx shadcn@latest add @vibra/widget-clinic-patients-patient-figures
    From Patient list

    Patient figures

    Everyone in the book, the month's first visits, the patients seen twice or more, and those with a visit still to come; reads patientFigures(rows).

  • The Doctor figures card
    npx shadcn@latest add @vibra/widget-clinic-doctors-doctor-figures
    From Doctors

    Doctor figures

    The doctors on the schedule and their departments, the hours booked over twenty-eight days and the busiest department, the month's visits and how many were seen, and the visits cancelled; reads clinicFigures(doctors).

Reads from db

Every figure on these pages is read from these repositories of the sample store. Swap one for your own API and each page that reads it follows.

  • db.appointments
  • db.members
  • db.notifications