Back to blog
  • dashboard
  • UI
  • Next.js

Glassmorphism dashboard: how Split was built

Split splits couple expenses with a dark-theme glassmorphism dashboard: what it does, why dark glass works, and how it stays fast on Android phones.

By Alessio Ferraro7 min read
Quash, the Hash42 quokka mascot, in sunglasses and a dark hoodie working on a laptop in front of transparent glass panels with charts, on a green background, under the title A dashboard that looks like glass
In this article

Splitting household expenses sounds simple. Then come the electricity bill, the Saturday groceries, the new sofa paid in installments and the coffee one of you bought three times in a row.

There are usually two options. A spreadsheet nobody updates after the first month, or a generic app built for groups of friends on holiday, full of features a couple does not need.

Split was built to solve this more simply: a web app for splitting expenses between two people, with a dark-theme glassmorphism dashboard that shows where things stand at a glance.

This article covers what it does, why it looks like glass and how it was built without slowing down the phone.

What Split does: a web app for couple expenses

At its core, Split answers one question: who owes how much to whom?

Every expense records who paid and how much each person owes. The balance updates in real time, with a plain sentence like "Giulia owes you 539.59 euros", and settling up takes a single tap.

Expenses are grouped into two main areas:

  • Home expenses: materials, labor, furniture.
  • Everyday expenses: utilities, groceries, meals, car, shopping, free time.

Each area shows the totals per person and the difference between the two.

Around this core sit the features that save time:

  • monthly spending, compared with the previous month;
  • a joint account, with each person's deposits and the expenses paid straight from it;
  • recurring expenses, suggested already filled in when they come due;
  • installment plans, with payment progress;
  • charts by category and by vendor, with period filters.

Split installs on your phone like an app (it is a PWA) and sends a notification when the other person adds an expense. The back button works like in a native app too: on the main screen it asks you to press it again before leaving.

For personal use, it fully replaces Splitwise.

The Split dashboard: overview, expenses, charts and recurring expenses.

Why a dark-theme dashboard with a glass effect

Glassmorphism is a style where interface elements look like panes of frosted glass: semi-transparent, with a light edge and the background color showing through.

In a dark-theme dashboard it has a concrete advantage: it creates depth without adding noise. Cards stand out from the background thanks to transparency and a subtle highlight, not thick borders or heavy shadows. The numbers, which are what matters, stay front and center.

When it makes sense, and when it does not

Glass works well when:

  • the background has little content and soft colors;
  • the information is sparse and large, such as balances, totals and charts;
  • there is space between elements.

It works poorly when:

  • there is text or a complex image behind the glass, which makes reading hard;
  • the page is a dense data table;
  • transparency lowers text contrast.

That last point matters most. The WCAG guidelines ask for a contrast ratio of at least 4.5:1 for normal text. In Split, text stays white or near-white on a background that remains very dark: the transparency affects the card surface, not readability.

How to build a glassmorphism dashboard

Split's interface is built on an internal Hash42 Labs dashboard kit, reused across several products. The kit offers three styles, chosen with a single property: flat, glass and 3D. Split uses glass in the dark theme.

The CSS tokens

It all starts with a few CSS variables, the tokens, that describe the glass. Here is the real snippet:

.dash-root[data-dash-style="glass"][data-dash-theme="dark"] {
  --dash-glass-base: #07080C;
  --dash-glass-fill: rgba(255, 255, 255, .055);
  --dash-glass-line: rgba(255, 255, 255, .12);
}
.dash-root[data-dash-style="glass"] .dash-card {
  background: var(--dash-glass-fill);
  border-color: var(--dash-glass-line);
  box-shadow: inset 0 1px 0 var(--dash-glass-hi), var(--dash-glass-shadow);
}

Line by line:

  • The first selector only applies when the dashboard is in glass style and dark theme. The other styles and the light theme have their own values.
  • --dash-glass-base: #07080C is the background color: a black with a hint of blue, softer than pure black.
  • --dash-glass-fill is the card fill: white at 5.5% opacity. Enough to tell the card apart from the background, little enough to let the colors behind show through.
  • --dash-glass-line is the border: white at 12%, a thin line tracing the edge of the pane.
  • The second selector applies these tokens to every card.
  • background and border-color use the fill and border just defined.
  • box-shadow does two things at once: inset 0 1px 0 draws a one-pixel line of light along the top inner edge, the highlight that makes the card look like glass; the second shadow lifts it off the background.

The advantage of tokens is that changing the look of the whole app takes three or four values, not a hundred scattered rules.

The color blobs

Glass on a flat background is invisible. That is why soft color blobs sit behind the content: orange, blue and purple, drawn with radial gradients and blurred all together.

.dash-root[data-dash-style="glass"]::before {
  content: '';
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(42% 32% at 12% 18%, var(--dash-glass-blob-1), transparent 70%),
    radial-gradient(45% 35% at 92% 42%, var(--dash-glass-blob-2), transparent 70%);
  filter: blur(30px);
}

The blobs live in a single fixed layer behind the page. The browser paints it once and does not have to recalculate it on every scroll.

Fake glass versus real blur

This is the most important choice for performance.

"Real" glass comes from backdrop-filter, which blurs everything behind an element. It looks great, but it has a cost: on every frame the browser has to recalculate the blur of whatever passes underneath.

With one or two surfaces you will not notice. With twenty cards on the same screen, on a mid-range Android phone, scrolling starts to stutter.

The solution used in Split:

  • real blur only on the top bar, bottom bar, sidebar and dialogs, which are few and sit above everything else;
  • fake glass on every card: semi-transparent fill, light border and highlight, with no backdrop-filter.
Bars and dialogs
  real blur, few surfaces
  ↓
Cards
  fake glass, no extra work
  ↓
Color blobs
  one fixed layer, painted once

Over a dark, blurred background, the difference between real and fake glass is barely visible. The difference in performance is huge.

Animations that make the dashboard feel alive

A static dashboard works. One that moves at the right moment feels like a polished product.

Split has three animations:

  • cards enter in a cascade: they start blurred and slightly lower, then sharpen into place one after another, 55 milliseconds apart;
  • numbers count up to their total, so your eye goes straight to the balance;
  • chart bars grow from the baseline to their value.
@keyframes dash-rise {
  from { opacity: 0; filter: blur(10px); transform: translateY(10px); }
}

All the animations use only opacity, blur and movement, never properties that change the page layout: that is why they stay smooth and nothing jumps around.

And all of them switch off if the person has asked their operating system to reduce motion. In that case the dashboard appears instantly, already complete: same information, no effects.

Stack and technical choices: a Next.js and Supabase dashboard

In short, Split uses:

  • Next.js 16 with the App Router, React 19 and TypeScript;
  • Supabase for the Postgres database and login, with Row Level Security: each record is visible only to members of the shared space, and the database itself enforces it;
  • Lucide icons;
  • Vercel for hosting;
  • PWA support and push notifications for phone use.

The internal dashboard kit is what saves the most time: components, charts, phone and desktop layouts and animations are already built and tested. For a new product, you change the brand colors and choose the style and content.

Checklist for a glassmorphism dashboard

Before publishing a dashboard in this style, check at least these five points:

  • Text keeps a contrast ratio of at least 4.5:1, even on semi-transparent cards.
  • Real blur is limited to a few surfaces, such as bars and dialogs.
  • The colored background is a fixed layer, not recalculated while scrolling.
  • Animations use only opacity, blur and movement.
  • With reduced motion turned on, every animation switches off.

Want a dashboard like this?

Hash42 Labs designs and builds custom dashboards, management tools and apps: from the first sketch to the version you install on your phone, with the same attention to performance and readability that went into Split.

If you want one ready for your business, get in touch with Hash42 Labs. And if you want to try building it yourself, just comment HASH under the TikTok video to get the instructions.

Sources

Share
Alessio Ferraro

Written by

Alessio Ferraro

Founder & Build Leader

meet al33xf

Have a project in mind?

Hash42 Labs designs and builds web apps, websites and digital products for businesses, with security built in from day one. The same principles behind this article power Manji and Muni.