Context meter

Segmented occupancy meter, bar or ring, for a token budget or context window.

Tables, data grids, stats, trees, heatmaps, and pagination.

lr-context-meter

import '@aceshooting/lyra-ui/components/lr-context-meter.js';

Read guide (English)

Related components

  • Document library — Searchable and filterable document inventory with versions, tags, owners, freshness, sorting, and bulk selection.
  • Env list — Masked key/value list for environment variables and secrets, with per-row reveal and copy.
  • File tree — File-explorer preset over the tree component with git-status badges and lazy directory loading.
  • Flow canvas — Pannable, zoomable canvas for building and running visual DAG workflows.
  • Flow controls — Zoom, fit, and lock button cluster for a paired flow canvas.
  • Flow minimap — Corner overview map with a draggable viewport rectangle for a paired flow canvas.