Skip to main content
Menu
On this page

Linear scale

Collect an integer on a labeled range, including standard NPS and CSAT scales.

Rendered by the SDK
@usefillo/react
Not likelyVery likely
Interactive local preview. Nothing is submitted.

The linear-scale field collects one integer between a configured minimum and maximum.

Options

OptionTypeDefaultBehavior
minnumber1Sets the first step
maxnumber10Sets the last step
minLabelstringnoneExplains the low end
maxLabelstringnoneExplains the high end
insightsMetricnps or csatnoneSelects a standard score in Insights

NPS requires a 0-to-10 scale; CSAT requires 1 to 5. The builder applies those bounds when you pick the matching insight metric. The answer is stored as an integer.

Add a linear scale

In the dashboard, select Add block, choose Linear scale, and add short end labels that explain what the numbers mean.

ts
const npsField = {
  id: "nps",
  kind: "linear_scale",
  label: "How likely are you to recommend us?",
  min: 0,
  max: 10,
  minLabel: "Not likely",
  maxLabel: "Very likely",
  insightsMetric: "nps",
  required: true,
} as const;
  • Build an NPS survey: Add an answer-dependent follow-up to the standard scale.
  • Rating: Use a compact star-style rating.
  • Logic: Route promoters and detractors to different follow-ups.

Updated

Was this page helpful?