MedSalveA pharmacy management system UI built as a clinical frontend showcase

A case study in designing one workspace for inventory, prescriptions, billing and reporting, with three operator roles and a custom healthcare palette, on Next.js 16, React 19 and Tailwind CSS 4.

Category
Frontend
Industry
pharmacy operations
Platform
Web, frontend only
Status
Live
  • 7operational screens
  • 3operator roles
  • 2themes, light and dark
  • Mock datafrontend-only showcase
medsalve.abdullahawais.com
MedSalve dashboard with KPI cards for revenue and prescriptions, a sales chart, and low-stock and expiry alerts beside a sidebar of pharmacy workspaces
Live at medsalve.abdullahawais.com
Overview

MedSalve: a pharmacy management system UI in one workspace

MedSalve is a pharmacy management system UI I built as a frontend-only portfolio showcase, with every operational screen of a pharmacy sharing one calm, clinical workspace.

It brings a clinical dashboard, batch-level inventory, a prescription pipeline, cart-style billing, a supplier network, reports and staff roles into one sidebar, for three operator roles: Pharmacist, Admin and Cashier. It is built with Next.js 16, React 19, TypeScript and Tailwind CSS 4 on the App Router. There is no backend: every medicine, supplier and patient on screen is illustrative, and the site footer says so in plain words.

The site describes itself as a Pharmacy OS and a frontend showcase template, and that is how I want it read. It is a working, clickable answer to how a pharmacy operations product should look and feel across every screen and every role, the kind of interface a team would later connect to its own API.

Role
Designer and frontend developer
Industry
Healthcare (pharmacy operations)
Audience
Teams evaluating healthcare SaaS frontends
Platform
Web, frontend only
Type
Frontend showcase (mock data)
Category
Frontend
Stack
Next.js 16, React 19, TypeScript, Tailwind CSS 4
The challenge

The problem MedSalve explores: pharmacy software built around the database

Back-office software for pharmacies tends to be organised around the database instead of the counter, so the people working a shift chase information across disconnected screens.

Stock lives on one screen, prescriptions on another, billing somewhere else, and the alert that a batch is about to expire sits three clicks away from the person who could act on it. The work on a shift is fast and interleaved: check a shelf, verify a prescription, ring up a sale, answer a supplier.

Who sees what matters as much as where things live. A cashier at the billing counter should not see the same controls as an administrator, and an interface that shows everyone everything makes every role slower.

I wanted a portfolio piece that showed what a calmer version of that tool could look like, with inventory, prescriptions, billing and reporting sharing a single workspace. It is a frontend showcase only. There is no backend, no real pharmacy behind it and no patient data: every medicine, supplier and patient on screen is illustrative, and the site footer says so in plain words.

How things worked before MedSalve, compared with MedSalve
Before MedSalveWith MedSalve
Stock, prescriptions and billing on separate screensOne sidebar with four workspaces and three operations screens
Expiry alerts buried several clicks from the counterLow-stock and expiry alerts on the dashboard
Every user sees the same controlsA role switcher that narrows the interface for each role
Generic themes that are hard to read on a long shiftA custom healthcare palette in light and dark

The brief I set myself

  • CalmA structured interface for fast, interleaved shift work.
  • ConnectedEvery screen describes the same records.
  • Role-awareEach role sees only what it needs.
  • HonestIllustrative data, clearly labelled as such.
My role

My role: designing and building the MedSalve frontend

I designed and built the MedSalve frontend on my own, from the healthcare colour palette to every operational screen and the mock records that feed them.

That covered the healthcare palette and its light and dark themes, the sidebar and workspace layout, each operational screen, the typed mock records behind them, and the hand-drawn SVG charts in Reports. The site credits it as a frontend template by me, and it is meant to be read the way a client would read a design proposal: as a working, clickable answer to how this kind of product should feel.

With no backend, the interface had to carry the whole argument. I treated the mock data as part of the design work and wrote it as one coherent pharmacy, so every screen a visitor opens agrees with the one before it.

Scope of work on MedSalve
DesignThe healthcare palette, its light and dark themes, and the sidebar and workspace layout.
ScreensDashboard, Inventory, Prescriptions, Billing, Suppliers, Reports and Staff and roles.
DataTyped mock records that link each SKU to a supplier, a batch and an expiry date.
InteractionThe live role switcher, the prescription flow with its allergy match, and cart-style billing.
ChartsHand-drawn SVG charts for the dashboard sales chart and the Reports screen.
How it works

How a pharmacy shift works in MedSalve, step by step

The live preview is built so a visitor can walk through a shift: switch roles, browse inventory, capture a prescription and process a sale at the billing counter.

  1. Step 1

    Pick who is at the counter

    The role switcher sets the operator. Each role sees only the workspaces and actions it is meant to, and the change happens live.

    Roles
    PharmacistAdminCashier
  2. Step 2

    Check the shelf

    Inventory traces every SKU down to the batch, so a low-stock item on the dashboard is the same item here, with the same supplier.

    Traced to
    SupplierBatchExpiry date
    Warnings
    Low stockAgeing
  3. Step 3

    Capture a prescription

    The pipeline moves through capture, verification and dispensing, with an allergy match against the mock patient profile shown inside the verification step.

    Stages
    CaptureVerifyDispense
  4. Step 4

    Ring up the sale

    Billing works like a cart: items go in, tax and discounts update live, and the sale ends in a printable invoice.

    Billing
    Live taxDiscountsPrintable invoice
Key features

MedSalve features for pharmacy operations

Each screen in MedSalve covers one part of the pharmacy day, and the records behind them are linked, so the screens agree with each other.

One workspace

7 screens

The sidebar splits the product the way a pharmacy splits its day: the workspaces used at the counter, and the operations screens used behind it.

  • 4workspaces: Dashboard, Inventory, Prescriptions, Billing
  • 3operations screens: Suppliers, Reports, Staff and roles

Clinical dashboard

Revenue, prescription, walk-in and average-basket KPIs, a sales chart, and low-stock and expiry alerts on the first screen.

Batch-level inventory

Every SKU traced to its supplier, batch and expiry date, with ageing and low-stock warnings.

Prescription pipeline

Capture, verification and dispensing in order, with a patient profile and a visible allergy match flag in the verification step.

Cart-style billing

A point-of-sale counter with live tax, discounts and a printable invoice.

Supplier network

Lead times, payment terms and active purchase orders, with restock requests raised from the dashboard.

Reports with SVG charts

Report charts drawn by hand in SVG, so they match the custom palette in both themes.

Live role switcher

Switch between Pharmacist, Admin and Cashier and watch the interface narrow to the screens each role is meant to see.

Light and dark themes

Both themes run on the custom healthcare palette, with status colours chosen to read clearly in each.

Architecture

How MedSalve is built: Next.js 16 architecture and tech stack

Four decisions shaped the build: how routes map onto the pharmacy, how the mock data is shaped, how the palette works in two themes, and how the charts are drawn.

Routing

The App Router mapped onto how a pharmacy works

The sidebar splits the product into workspaces (Dashboard, Inventory, Prescriptions, Billing) and operations (Suppliers, Reports, Staff and roles), plus the legal pages. I organised the Next.js 16 App Router around that same split, so the navigation a visitor sees and the folder structure in the code describe the same mental model of the pharmacy.

Data

Mock data shaped like connected records

A pharmacy UI is only convincing if its screens agree with each other. Each SKU in the mock data links to a supplier, a batch and an expiry date, so a low-stock item on the dashboard is the same item in Inventory and the same supplier in the purchase orders. Typing those records in TypeScript kept the links honest as screens were added, without inventing a server to hold them.

Design

A custom healthcare palette in Tailwind CSS 4

Clinical software has to stay legible under bright overhead light and on a night shift, so I built a dedicated palette for the product instead of reusing a generic theme, with light and dark variants of every surface. Alerts and status colours were picked so that an expiry warning reads clearly in both modes.

Charts

Hand-built SVG charts for Reports

The dashboard sales chart and the report charts are drawn directly in SVG. For a handful of charts that had to match a custom palette in two themes, drawing them myself gave full control over every line and label. My PulseRep fitness tracking frontend took the other route with Recharts, which suits a product where charts are the main event.

The MedSalve tech stack

Technologies used in MedSalve and what each one does
TechnologyWhat it does in MedSalve
Next.js 16The framework: routing, rendering and builds for every screen.
React 19The interactive screens, including the role switcher, the prescription flow and the billing cart.
TypeScriptTyped mock records, so every SKU, batch and supplier link stays consistent across screens.
Tailwind CSS 4Styling, with the custom healthcare palette in light and dark themes.
App RouterRoutes organised around the same workspace and operations split as the sidebar.
Challenges

Challenges in building the MedSalve pharmacy UI, and how I solved them

Three of the hard parts: showing permissions without a server, designing decision support honestly, and making a demo feel like a real shift.

Showing permissions without a server

Problem

Role-aware access is central to how a pharmacy system should behave, since a cashier should not see the same controls as an administrator. With no backend there is nothing to enforce it, and a showcase still has to make the idea visible.

Solution

The role switcher changes which workspaces and actions are shown, live, so a visitor can flip from Pharmacist to Cashier and watch the interface narrow. I describe it as a demonstration of role-aware UI, because in a real deployment the same rules would have to be enforced by the API as well.

Designing decision support honestly

Problem

An allergy match is one of the most useful things a prescription screen can surface, and also the easiest to oversell. A portfolio piece with mock data should not look like it is giving clinical advice.

Solution

The allergy match compares the mock patient profile with the item being prescribed and raises a visible flag inside the verification step. It shows how the flow and the warning would sit in a pharmacist's workday, and it is presented as interface design on illustrative data, not as clinical software.

Making a demo feel like a real shift

Problem

Empty states and lorem ipsum make a dashboard look like a template. Reviewers judge an operations UI by whether the numbers, alerts and lists look like they came from the same day.

Solution

The illustrative data is written as one coherent pharmacy: revenue in PKR, a count of prescriptions and items running low, purchase orders in transit, and batches close to expiry that also appear in Inventory. Because the records are linked, clicking through tells a consistent story.

Results

Results: MedSalve is live as a clickable pharmacy dashboard preview

MedSalve is live at medsalve.abdullahawais.com as a clickable preview that runs entirely in the browser, on illustrative data only.

A visitor can switch roles, browse inventory down to the batch, capture a prescription and process a sale at the billing counter. It sits alongside Aubade, my LMS frontend showcase as an example of how I approach a product interface when the brief covers every screen and every role.

  • 4workspaces: Dashboard, Inventory, Prescriptions, Billing
  • 3operations screens: Suppliers, Reports, Staff and roles
  • 3roles: Pharmacist, Admin and Cashier

What's next for MedSalve

A natural next step would be to put a real API behind the same screens, with role checks enforced on the server, the way I handled roles across the stack in the Team Management System. Until then, MedSalve stays a frontend template.

FAQ

MedSalve pharmacy management UI: frequently asked questions

Short answers to the questions people ask most about MedSalve: what it is, what it is built with, and what it is not.

What is MedSalve?

MedSalve is a pharmacy management system UI I built as a frontend-only portfolio showcase. It puts a dashboard, inventory, prescriptions, billing, suppliers, reports and staff roles into one workspace, with a live switcher for the Pharmacist, Admin and Cashier roles.

Is MedSalve a real pharmacy system?

No. It is a frontend template with no backend and no real pharmacy behind it. Every medicine, supplier and patient on screen is illustrative, and it is interface design, not clinical software.

What is MedSalve built with?

Next.js 16 on the App Router, React 19, TypeScript and Tailwind CSS 4. The charts on the dashboard and in Reports are drawn by hand in SVG rather than with a chart library.

Which user roles does MedSalve show?

Three: Pharmacist, Admin and Cashier. The role switcher changes which workspaces and actions are visible, live, to demonstrate role-aware UI. In a real deployment the same rules would also have to be enforced by an API.

Can I try MedSalve?

Yes. The live preview at medsalve.abdullahawais.com lets you switch roles, browse inventory, capture a prescription and process a sale, all in the browser.

Who built MedSalve?

Muhammad Abdullah Awais, a full-stack developer based in Pakistan. I designed and built the MedSalve frontend, and I am available for freelance and full-time work on product interfaces like it.

Available for new builds

Need a full-stack developer for a product like this?

I work remotely with teams in the US, Canada, the UK, Europe and the Gulf, and with clients across Pakistan. Based in Pakistan (PKT, UTC+5), available for freelance and full-time roles.