Skip to content
Docs
Open Promoeyes

input-choiceset

UI item · inside ui / ui3duisset 2× in templates and rigs

A choice field drawn static on a UI stage: a dropdown showing the selected choice (`style=compact`), or a radio or checkbox list of all its `choices` (`style=expanded`), under a small label.

input-choiceset(accent=#ffffff border=#ffffff fill=#ffffff)

Attributes

accentcolour #rrggbbColour of a ticked radio button or checkbox.2×
bordercolour #rrggbbOutline colour of the dropdown.2×
fillcolour #rrggbbFill of the dropdown (default white).2×
inkcolour #rrggbbColour of the choice text.2×
labeltextThe small caption above the field.2×
mutedcolour #rrggbbColour of the label and the dropdown's chevron.2×
radiusnumberCorner radius of the dropdown (default 12).2×
styletext`compact` (default), a dropdown; `expanded`, every choice in a list.2×
wnumberField width in stage units (default 280).2×
hnumberHeight of a compact field with its label band (default 64); an expanded list sizes itself.1×
isMultiSelecttrue / falseWith `style=expanded`, checkboxes instead of radio buttons.1×
valuetextText in a compact dropdown when no choice is `selected`.1×

Where it goes

Written under