Utilities
Dates, fuzzy search, text highlighting, list filtering, QR codes, Lottie and code highlighting.
Day.js
| Format | Result |
|---|
Fuse.js
mark.js
A dashboard is only useful when the numbers on it are trustworthy. That means the dashboard has to agree with the source of truth, refresh predictably, and say plainly when data is stale.
Most teams start with a single dashboard and grow to dozens. At that point naming, ownership and permissions matter more than chart styling, because a dashboard nobody owns is a dashboard nobody fixes.
The healthiest pattern we see: one canonical dashboard per team, reviewed monthly, with every metric linked back to its query.
List.js
QRious
Prism.js
// Mount a theme-aware chart in three lines
nxMountChart('#revenueChart', function () {
return $.extend(true, nxApexBase(), {
chart: { type: 'area', height: 320 },
series: [{ name: 'Revenue', data: [28, 34, 31, 42, 48, 54] }],
colors: [nxCss('--nx-chart-1')],
stroke: { curve: 'smooth', width: 2.5 }
});
});
// The chart rebuilds itself whenever the theme changes,
// because app.js keeps a registry of every mounted chart.
document.addEventListener('nx:theme-changed', function () {
console.log('now in', nxTheme(), 'mode');
});
Lottie
Lottie plays animations exported from After Effects as JSON. They stay crisp at any resolution and weigh a fraction of an equivalent GIF, which makes them the usual choice for empty states, success confirmations and onboarding illustrations.