radar_ui 0.1.0
radar_ui: ^0.1.0 copied to clipboard
Shared Flutter design system for the Radar observability suite: color and severity tokens, typography, density, and dense dashboard widgets (tags, sparklines, sort headers).
radar_ui #
The shared design system for the Radar
on-device observability suite for Flutter. It's the foundation the Radar
dashboards are built on — you normally depend on a Radar package
(radarscope, flutter_leak_radar, flutter_perf_radar) rather than this one
directly.
What's inside #
- Tokens —
RadarColors(the dark palette),RadarSeveritywith a severity→color mapping,RadarTypography(Space Grotesk / Hanken Grotesk / JetBrains Mono, with tabular figures), andRadarDensityspacing/radii. - Theme —
radarDarkTheme(), a darkThemeDatawired to the tokens. - Widgets — dense, dashboard-oriented primitives:
RadarTag,RadarSparkline,RadarMetricTile,RadarSearchField,RadarSortHeader,RadarFilterChip, andRadarLivePulseDot(reduced-motion aware).
import 'package:radar_ui/radar_ui.dart';
MaterialApp(
theme: radarDarkTheme(),
home: const RadarTag(label: 'CRITICAL', color: RadarColors.critical),
);
License #
MIT — see LICENSE.