# `Macaw.Builtin.Meter`
[🔗](https://github.com/dcoai/macaw/blob/v0.6.0/lib/macaw/builtin/meter.ex#L1)

The built-in meter (spec/05 §6.4), `"macaw.meter"`: one number against its range, in a
native `<meter>`, of kind `:content`, `:pure`.

  * **parameters:** `label` (text, `""`, the field's label from the schema when empty);
    `reduce` (`Macaw.Builtin.Reading.reduces/0`, `"latest"`, bindable); `digits` and `format` as the stat's; `min` (`0`); `max`
    (required), above `min` or a fault at its name; `low`, `high` and `optimum` (optional
    numbers, not bindable), each in the range and `low` not above `high`, or a fault at
    its name;
  * **declarations:** one slot, `rows`, with roles `value` (a `:number`) and `t` (the window
    field, optional, which `latest` and `delta` read by); reading load `:glance`;
  * **order and budget:** as the stat's;
  * **markup:** the label as a heading, naming a `<meter>` through `aria-labelledby`, and the
    value written by its field's measure beside it (`Macaw.Builtin.Reading.writer/3`), and the word `low` or `high` when it's past
    that threshold, so neither color nor length is the only cue. `<meter>` clamps its bar
    to the range; the text shows the true value. A slot with no readings shows an en dash
    and no bar, never zero;
  * **stylesheet:** `stylesheet/0`, served at `stylesheet_path/0`, its content address.

# `stylesheet`

```elixir
@spec stylesheet() :: String.t()
```

The meter's one static stylesheet, every color a theme custom property with the default
theme's value as its fallback. It loads and imports nothing.

# `stylesheet_path`

```elixir
@spec stylesheet_path() :: String.t()
```

The stylesheet's path, its content address (`Macaw.Component.Stylesheet.path/1`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
