Primitive 03 / Branching logic editor

Branching logic editor

Per-question rule editor — If answer [operator] [value], then skip / show / end survey [target]. Each rule is composed of token chips, the action chip is tone-coded by intent, and rules can be added or removed.

Production answer

Branching logic editor is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.

Primary CTAReview Branching logic editor states
Generative search brief

Branching logic editor: Per-question rule editor — If answer [operator] [value], then skip / show / end survey [target]. Each rule is composed of token chips, the action chip is tone-coded by intent, and rules can be added or removed.

Live primitive — NPS branching
Branching logicQ01 — How likely are you to recommend us?
  1. If answer<7
    Thenskip toQ04 — What could we fix?
  2. If answerisNo
    ThenshowQ04 — What could we fix?
  3. If answer>8
    Thenend survey