Skip to main content

UI Library & Design System

Rackscope's frontend is built on a comprehensive design system inherited from TailAdmin, enhanced with infrastructure-monitoring-specific components.

UI Library

The live reference for all components is available at /templates/default in every running Rackscope instance. It renders every component with the currently active theme — buttons, forms, status indicators, overlays, feedback states, and more — all interactive.


Design System Overview

The visual foundation of Rackscope is built on three pillars:

  • TailAdmin base: A production-grade admin UI kit providing consistent layout patterns, spacing, and component primitives.
  • Tailwind CSS v4: Utility-first styling with full support for arbitrary values, custom palettes, and runtime theming.
  • Outfit font: A geometric sans-serif typeface optimized for legibility on dense data screens and NOC wallboards.

Dark mode is treated as the primary experience. Every component is designed dark-first and then adapted for light mode. This matches the expectations of NOC operators and on-call engineers working in low-light environments.


Accessing the UI Library

The UI Library is a live, interactive reference page built into every Rackscope instance. It renders all components using the currently active theme so you can preview the effect of palette and accent changes in real time.

To open the UI Library:

  1. Navigate to /templates/default in your browser while Rackscope is running, for example http://localhost:5173/templates/default.
  2. Alternatively, navigate to /ui-library for the full component catalog.
  3. Or go to Settings > Appearance and click the Open UI Library link.

The page is read-only and does not affect any configuration.


Theme System

Rackscope ships with a fully configurable theme system. Changes are applied instantly and persisted to localStorage — no reload required. Theme settings live in Settings > Appearance.

Accent Colors

Accent colors control interactive elements: active sidebar items, focused inputs, primary buttons, progress indicators, and link text.

NameHexCharacter
Indigo#465fffDefault. Professional, neutral, high contrast.
Violet#7c3aedBold. High visibility on dark backgrounds.
Emerald#059669Calm. Common in infrastructure tooling.
Rose#e11d48Alert-like. Use with caution in NOC contexts.
Amber#d97706Warm. Pairs well with dark and solarized palettes.

Dark Palettes

NameCharacter
VoidNear-black backgrounds (#0a0a0f). Maximum contrast, minimum eye strain. Recommended default for NOC.
NavyDeep blue-gray tones. Familiar to users of traditional network monitoring dashboards.
ForestDark green-tinted surfaces. Low-fatigue for long shifts. Pairs well with Emerald accent.
MatrixSpecial mode — see Matrix Mode below.

Light Palettes

NameCharacter
SlateCool neutral grays. Clean and professional. Recommended for office environments.
WarmSlightly warm whites. Reduces blue-light exposure on extended sessions.
CoolCrisp blue-white tones. High contrast for bright rooms.
SolarizedEthan Schoonover's classic palette. Familiar to terminal-heavy users.

Changing the Theme

  1. Open Settings from the left sidebar.
  2. Navigate to the Appearance section.
  3. Select an accent color and a palette.
  4. Changes apply immediately across the entire interface.

Matrix Mode

Matrix mode is a special Easter egg palette activated by selecting the Matrix dark palette in Settings > Appearance.

When active, it applies a CRT aesthetic to the entire interface:

  • Phosphor green typography on near-black backgrounds
  • Scanline overlay simulating an old cathode-ray monitor
  • Crosshair cursor replacing the default pointer
  • Monospace font substituted for data tables and code blocks
  • Subtle flicker animation on status badges

Matrix mode is fully functional — all monitoring data, health states, and navigation work normally.

tip

Matrix mode was designed for after-hours NOC shifts and conference demos. It is deliberately distinctive. Do not deploy it as the default theme in shared environments unless your team agrees.


Component Categories

All components are documented and showcased live at /templates/default. The library is organized into the following categories:

CategoryKey components
Buttons & ActionsPrimary, Secondary, Ghost variants; sizes xs/sm/md/lg; icon buttons; loading states
Badges & LabelsSolid and outline variants; semantic health-state colors; sizes sm/md
Alerts & BannersInfo, Success, Warning, Error; dismissible; AlertBanner component
FormsText inputs, textareas, SearchInput, SelectInput, ToggleSwitch, StepperInput, NumberInput, SegmentedControl, FilterPills
OverlaysModal, ConfirmationModal, Drawer, DrawerHeader, Tooltip, TooltipHelp
Status IndicatorsStatusPill, StatusDot, IconBox, KpiCard, StatefulSaveButton
LayoutPageHeader, PageBreadcrumb, SectionCard, Tabs
FeedbackLoadingState, EmptyState, ErrorState
ChartsBar, line, radial/donut (ApexCharts); heatmap; all theme-aware

See the Design System section for usage patterns and developer guidelines.


Health State Colors

Health state indicators appear throughout Rackscope: rack grids, device panels, node lists, badges, and chart legends. These colors are fixed regardless of the active accent or palette to ensure consistent operator interpretation.

StateColorHexUsage context
OKGreen#10b981All checks passing, node up, no active alerts
WARNAmber#f59e0bAt least one warning-level check failing
CRITRed#ef4444At least one critical-level check failing
UNKNOWNGray#6b7280No data returned, check error, or unmonitored

Health states aggregate upward through the topology: Node → Chassis → Rack → Room → Site. The worst state at any child level propagates to the parent.


Dark Mode Best Practices

Rackscope is tested in both light and dark modes before every release.

  • Default to dark: Set dark mode as the default for any shared NOC or wallboard deployment.
  • Test both modes: Any component change must be visually verified in both Void (dark) and Slate (light) before shipping.
  • Never rely on color alone: All status indicators pair color with an icon or text label.
  • Contrast targets: Rackscope targets WCAG AA contrast ratios for all text on backgrounds.

Easter Eggs

Terminal overlay: Type help anywhere in the interface (while no input is focused) to open a terminal-style overlay displaying available keyboard shortcuts and a brief system status summary. Dismiss it by pressing Escape or clicking outside the overlay.

Matrix mode: Described in detail in the Matrix Mode section above.

These features are cosmetic and do not affect any monitoring data or configuration state.