Colour theme

RangeScale

  • Primitives

  • fields

RangeScale

Interaction states

Statedefaulthoverfocusactive
at minimum
0 %
0 %
0 %
0 %
partially filled
50 %
50 %
50 %
50 %

Disabled

native disabled on the field
50 %

Invalid

out of policy
50 %

Lane model — a documented choice

inset (default) — box contains its own ink
50 %
flush — scale reaches the visible ends
50 %
flush at min — the thumb overhangs
0 %
flush at max — the thumb overhangs
100 %
partial (--_rs-inset: 0.25em)
50 %

Ticks

marks — stops drawn, labels not rendered
50 %
labels — same markup, one attribute changed
50 %
labels on a flush lane — first and last stop land on the ends
50 %
uneven stops — one expression, no gradient period
40 bar

Variants

no readout (the <output>'s presence is the switch)
scales with text (font-size only)
50 %
RTL — the fill anchors right, with no extra rule
50 %
vertical, min at the bottom (default)
vertical, min at the top
vertical, flush

Reference layer

region — drag below 20 and it stops following
50 GB

Already used: 20 GB. Setting the limit below that stops all traffic.

region, no fill — nothing to clamp against

Already used: 20 GB.

band — a bracket above the lane by default
400 tkr

Recommended level: 300–500 tkr.

band + variant — colour-coded, drawn on the fill
400 tkr

Above 500 tkr the interest rate increases.

band forced under — why it is not the default

Least legible exactly when the value covers it — which is why it is not the default.

marker — a band of no width
35 %

Median bid in this area: 62 %.

band + ticks — same expression, neither knows the other
50 bar

Safe operating band: 25–75 bar.

Live demo

50 %

Native reference

unstyled range