Small, self-contained UI primitives for the dashboard (status pills, metric
badges, the Pro lock). Deliberately minimal and dependency-free — the
dashboard ships its own styling in priv/static and never assumes the host's
component library.
Summary
Functions
A compact metric badge (e.g. throughput, p99, error rate).
A "Pro" lock placeholder, rendered where a gated feature would be when the resolver hasn't granted it. The free build never shows this (all features on).
A coloured status pill for a node/network run state.
Functions
A compact metric badge (e.g. throughput, p99, error rate).
Attributes
label(:string) (required)value(:string) (required)tone(:atom) - Defaults to:neutral.
A "Pro" lock placeholder, rendered where a gated feature would be when the resolver hasn't granted it. The free build never shows this (all features on).
Attributes
feature(:atom) (required)
A coloured status pill for a node/network run state.
Attributes
state(:atom) - Defaults to:idle.label(:string) - Defaults tonil.