StealThis .dev
Pages Hard

SaaS — App Dashboard / Home

A polished in-app SaaS dashboard home built with vanilla HTML, CSS, and JavaScript. It pairs a time-aware greeting and quick-actions row with four KPI cards that carry deltas and inline SVG sparklines, a primary revenue trend chart with hover tooltips, a dismissable onboarding nudge, a checkable tasks widget, and a recent-activity feed. Switching the date range recomputes every metric and redraws the charts live, and a working light and dark theme toggle keeps the whole shell on-brand.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

App Dashboard / Home

An in-app home screen for a fictional analytics product, Northwind. A persistent sidebar, sticky search topbar, and a time-aware greeting frame the workspace. Four KPI cards surface MRR, active users, conversion, and churn — each with a colored delta pill and an inline SVG sparkline — above a primary revenue trend chart that draws the current period against the previous one with a gradient area fill.

The 7d / 30d / 90d range switch is the heart of the interaction: choosing a range deterministically recomputes every KPI, redraws all sparklines, and re-renders the trend chart. Hovering the chart snaps a dot to the nearest day and shows a value tooltip. A circular onboarding-progress nudge animates on load and can be dismissed, the tasks widget lets you check items done (keyboard accessible) with a live progress count, and a widget overflow menu and recent-activity feed round out the layout. A working light/dark theme toggle repaints the shell and chart.

Everything is self-contained vanilla JS — no frameworks, no build, no external images — with landmark roles, aria states, focus-visible rings, and a layout that collapses gracefully to a single column on phones.

Illustrative SaaS UI only — fictional product, metrics, and billing. No real backend.