RangeScale
RangeScale
Interaction states
| State | default | hover | focus | active |
|---|---|---|---|---|
| at minimum | ||||
| partially filled |
Disabled
| native disabled on the field |
|---|
Invalid
| out of policy |
|---|
Lane model — a documented choice
inset (default) — box contains its own ink | |
|---|---|
flush — scale reaches the visible ends | |
flush at min — the thumb overhangs | |
flush at max — the thumb overhangs | |
partial (--_rs-inset: 0.25em) |
Ticks
marks — stops drawn, labels not rendered | |
|---|---|
labels — same markup, one attribute changed | |
labels on a flush lane — first and last stop land on the ends | |
| uneven stops — one expression, no gradient period |
Variants
no readout (the <output>'s presence is the switch) | |
|---|---|
scales with text (font-size only) | |
| RTL — the fill anchors right, with no extra rule | |
| vertical, min at the bottom (default) | |
| vertical, min at the top | |
| vertical, flush |
Reference layer
region — drag below 20 and it stops following | 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 | Recommended level: 300–500 tkr. |
band + variant — colour-coded, drawn on the fill | 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 | Median bid in this area: 62 %. |
| band + ticks — same expression, neither knows the other | Safe operating band: 25–75 bar. |
Live demo
Native reference
| unstyled range |
|---|