Documentation

Ranking Question

Article

Ranking Question

When and Why to Use

Use this when you want respondents to rank a list of items in order of preference, importance, or relevance. Ideal for:

  • Brand or product preference
  • Feature prioritization
  • Behavioral comparisons (e.g. activities, habits)

Supports optional min/max number of items to rank, media options, and custom recoding.

Chat Experience
  • Drag-and-drop or tap-to-rank UI depending on style
  • Labels for top and bottom ranks shown as anchors
  • Optional "Don't know" button shown below options
Traditional Experience
  • Grid or stacked ranking interaction optimized for larger viewports
  • Buttons are laid out clearly with visual feedback on order
Chat experienceTraditional Experience with imagesTraditional, mobile optimized, without images
Button 2B Plain TextButton Markdown Images483897842 7eb0b33c 6146 4552 bec6 b495ff35de88
Configuration Options
OptionTypeRequiredDefaultDescription
questionstringyes-Text shown above the ranking list
optionsList[str|MediaItem]yes-
styleLiteral['button', 'list']nobutton for short lists/questions and list for longer ones.The style to display the options in.
min_optionsintnoallMinimum number of items user must rank
max_optionsintnoallMaximum number of items user may rank
labelsTuple[str, str]no("Least", "Most")Anchors for bottom/top of the ranking
randomizeboolnoFalseShuffle item order
fixed_optionsList[str]no-Items that should not be shuffled
defaultList[str]norandomTest-mode ranking order
recodesDict[str, str]no-Map items to alternative codes for reporting
dont_know_optionstrno-Adds a "Don't know" option with this label
custom_validator`Callable[[List[str]], strNone]`no-
skip_emptyboolnoFalseSkip if no items to rank
image_label_fieldstrno-Label to use for image-based items
show_image_labelboolnoTrueWhether to show labels with images
image_sizeTuple[int, int]no-Size of image tiles
tagss.tag()no-Used for token repla