NEURALNG
MISCBETA

MeterGroup

Multiple scalar measurements inside one known range, rendered as a compact visual composition without sacrificing the identity and value of each meter.

Native meter semanticsHorizontal and verticalHeadless ready

STANDALONE API

Import

Import the canonical component and immutable item contract from the granular entry point.

app.ts TypeScript
import { NeuralMeterGroup, type NeuralMeterItem } from '@neural-ng/core/meter-group';

@Component({ imports: [NeuralMeterGroup] })

Storage composition

Every segment owns its visible label, optional Neural Icon, formatted value and assistive value text.

  • Applications 24 GB
  • Media 36 GB
  • System 18 GB

Signal-driven values

Replace immutable items and only the computed geometry changes. Segment transitions respect reduced motion.

  • Applications 24 GB
  • Media 36 GB
  • System 18 GB

Custom shared range and colors

Values are normalized against one shared range. Item colors override the six-color token palette without mutating source data.

  • Web 42 GB
  • Mobile 28 GB
  • API 16 GB

Vertical and logical layout

Orientation, label position and label flow are independent. Start and end remain correct in RTL.

  • CPU 38%
  • Memory 31%
  • Queue 19%

Label and value visibility

Move labels before the track, hide formatted values or remove the visible legend entirely. Hidden legends become direct accessible meter names.

  • Web 42%
  • Mobile 28%
  • API 16%
  • Web
  • Mobile
  • API

Capacity clipping without data loss

When totals exceed the track, later segments use only remaining visual capacity. Their real bounded values remain available through ARIA instead of being rewritten.

  • Reserved 72%
  • Requested 48%
  • Burst 20%

Unstyled and typed slots

Structural sizing and meter semantics remain while Tailwind owns every visible choice.

  • CPU 38%
  • Memory 31%
  • Queue 19%

MeterGroup or ProgressBar?

MeterGroup

Known scalar measurements such as storage composition, quotas, scores and resource allocation.

ProgressBar

A task moving toward completion or an indeterminate operation. It communicates progress, not composition.