Clinical dashboard
Revenue, prescription, walk-in and average-basket KPIs, a sales chart, and low-stock and expiry alerts on the first screen.
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.

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.
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.
| Before MedSalve | With MedSalve |
|---|---|
| Stock, prescriptions and billing on separate screens | One sidebar with four workspaces and three operations screens |
| Expiry alerts buried several clicks from the counter | Low-stock and expiry alerts on the dashboard |
| Every user sees the same controls | A role switcher that narrows the interface for each role |
| Generic themes that are hard to read on a long shift | A custom healthcare palette in light and dark |
The brief I set myself
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.
| Design | The healthcare palette, its light and dark themes, and the sidebar and workspace layout. |
|---|---|
| Screens | Dashboard, Inventory, Prescriptions, Billing, Suppliers, Reports and Staff and roles. |
| Data | Typed mock records that link each SKU to a supplier, a batch and an expiry date. |
| Interaction | The live role switcher, the prescription flow with its allergy match, and cart-style billing. |
| Charts | Hand-drawn SVG charts for the dashboard sales chart and the Reports screen. |
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.
Step 1
The role switcher sets the operator. Each role sees only the workspaces and actions it is meant to, and the change happens live.
Step 2
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.
Step 3
The pipeline moves through capture, verification and dispensing, with an allergy match against the mock patient profile shown inside the verification step.
Step 4
Billing works like a cart: items go in, tax and discounts update live, and the sale ends in a printable invoice.
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.
Revenue, prescription, walk-in and average-basket KPIs, a sales chart, and low-stock and expiry alerts on the first screen.
Every SKU traced to its supplier, batch and expiry date, with ageing and low-stock warnings.
Capture, verification and dispensing in order, with a patient profile and a visible allergy match flag in the verification step.
A point-of-sale counter with live tax, discounts and a printable invoice.
Lead times, payment terms and active purchase orders, with restock requests raised from the dashboard.
Report charts drawn by hand in SVG, so they match the custom palette in both themes.
Switch between Pharmacist, Admin and Cashier and watch the interface narrow to the screens each role is meant to see.
Both themes run on the custom healthcare palette, with status colours chosen to read clearly in each.
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 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
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
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
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.
| Technology | What it does in MedSalve |
|---|---|
| Next.js 16 | The framework: routing, rendering and builds for every screen. |
| React 19 | The interactive screens, including the role switcher, the prescription flow and the billing cart. |
| TypeScript | Typed mock records, so every SKU, batch and supplier link stays consistent across screens. |
| Tailwind CSS 4 | Styling, with the custom healthcare palette in light and dark themes. |
| App Router | Routes organised around the same workspace and operations split as the sidebar. |
Three of the hard parts: showing permissions without a server, designing decision support honestly, and making a demo feel like a real shift.
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.
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.
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.
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.
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.
Short answers to the questions people ask most about MedSalve: what it is, what it is built with, and what it is not.
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.
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.
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.
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.
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.
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.
A Next.js gym management dashboard with member, trainer and admin workspaces, built as a frontend demo on mock data.
Read the case studyAn editorial LMS frontend in Next.js 16 with a reading-room lesson player and 13 hand-built UI primitives.
Read the case studyA free NSCT exam preparation platform with 33,800+ CS MCQs and a configurable quiz engine.
Read the case studyI 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.