Skip to content

Credit Risk Console

Aurelia Bank’s credit risk team needs to answer one question repeatedly: where is the risk concentrated, and what is moving? This application is how they answer it — and it is built entirely from AWC UI components.

Open the applicationSwitch framework, theme, density, direction and language from inside the app.

All ten are live, and the control bar switches between them without losing your place. They are not ten copies of the same code: every number, date, string, derived series and table layout comes from @awc-ui/showcase-kit, so the only thing that differs between them is the view layer — which is exactly what makes two screenshots comparable evidence.

They come in pairs. Each framework appears twice: once as a single-page application, where the server sends an empty shell and the browser renders everything, and once server-rendered per request, where the HTML arrives complete and the components are already inside declarative shadow DOM. Same screens, same components, same kit. The only variable is where the first render happened, which is what makes the pair worth looking at.

BuildOpenHow it rendersWhere the language lives
React/react/Single-page app — empty shell, the browser renders everythingClient state — switches in place
Next.js/next/Server-rendered per request, into declarative shadow DOMClient state — switches in place
Vue/vue/Single-page app — Vite, no meta-frameworkClient state — switches in place
Nuxt/nuxt/Server-rendered per request, into declarative shadow DOMClient state — switches in place
Angular/angular/Single-page app — client-rendered onlyClient state — switches in place
Angular (SSR)/angular-ssr/Server-rendered per request, into declarative shadow DOMClient state — switches in place
Svelte/svelte/Single-page app — Vite, no meta-frameworkClient state — switches in place
SvelteKit/sveltekit/Server-rendered per request, into declarative shadow DOMClient state — switches in place
Astro/astro/Server-rendered into declarative shadow DOM, once, at build timeIn the URL (/astro/ro/)
HTML/html/Static files, no framework at allIn the URL (/html/ro/)

The portfolio is not a single screen with a chart on it. Every number is a way in:

LevelWhat it showsWhere it leads
PortfolioExposure at default, expected loss, RWA and weighted-average PD, with sector concentration and rating distributionA sector, or straight to a large counterparty
SectorConcentration against its limit, exposure trend, and every counterparty in itA counterparty
CounterpartyInternal rating and watchlist status, facilities, rating history, and the corporate group it belongs toA facility, or a group member
FacilityTerms, covenant headroom, collateral and haircuts, drawdown scheduleA breached covenant
WatchlistEarly-warning signals by severity, across the bookThe counterparty that triggered it
Stress testingBaseline, adverse and severe scenarios compared by expected loss and RWAThe sector that moves most

Credit risk was chosen because it is hostile to component libraries. It needs dense tables that sort and page without losing their place, breadcrumbs that survive four levels of drilling, charts that read the same data as the tables beside them, hierarchy views for corporate group structures, and numbers that stay legible at compact density.

Three things the control bar lets you verify directly:

  • Framework — the same screens in React, Vue, Angular, Svelte, Astro and plain HTML. The URL carries the framework, so /showcase/credit-risk/react/ and /showcase/credit-risk/svelte/ are the same application, and the control bar swaps that one segment.
  • Direction and language — English, Romanian and Arabic. Switching to Arabic flips the whole application right-to-left with real translated content, not mirrored Latin text.
  • Theme and density — a seed colour retints every component including the charts, and density rungs compress the tables the way a real trading-floor build would.

Aurelia Bank, its counterparties, ratings and exposures are invented. The figures are internally consistent — sector exposures sum to the portfolio total, facility drawdowns sum to counterparty exposure, and covenant headroom is computed from the stated thresholds — so the drill-downs reconcile the way a real book would, but no real institution or company is represented.