Updated: August 23, 2024

Order Picker Form Cell

FUIOrderPickerFormCell

Intro

Order picker form cells are used for the purpose of sorting with multiple criteria where the sort order direction and the sequence of criteria matter.

Example of order picker form cells on compact (left) and regular (right)
Example of order picker form cells on compact (left) and regular (right)

Anatomy

A. Order Picker Header

The header contains a form label.

B. Criterion Cell (higher priority)

The cell represents one criterion. The top most is the highest priority in the sorting sequence.

Each criterion cell contains a label. If selected, it also displays a checkmark next to the label.

C. Criterion Cell (lower priority)

The cells locate below have lower priority in the sorting sequence.

Each criterion cell contains a label. If selected, it also displays a checkmark next to the label.

D. Order Direction Label

The label shows current sort order direction for the selected criterion.

E: Drag Handle

By dragging the handle, the criterion cell will move and rearrange

Anatomy of the order picker form cell
Anatomy of the order picker form cell

Behavior and Interaction

Touch Area

Toggle Check Mark

Tapping on the area, which expands from left edge to the order direction label or the drag handle, toggles the selection of a critria.

Example that show touch area boundary for toggling selection
Example that show touch area boundary for toggling selection

Toggle Order Direction

Tapping on the word area toggles the order direction.

Example that show touch area boundary for toggling order direction
Example that show touch area boundary for toggling order direction

Drag on the Handle

Dragging on the icon moves the whole cell.

Example that show touch area boundary for dragging and rearranging criteria
Example that show touch area boundary for dragging and rearranging criteria

Wrapping

By default, the content get truncated, but the component can be set to wrap all texts.

Example showing wrapping behavior when the texts are too long
Example showing wrapping behavior when the texts are too long

Adaptive Design

Similar to form cells, order pickers are usually used as one section apart from other form cells. In compact width layout, the component follows default container’s layout margin. It can also be put in readable regular width layout.

Example of order picker form cells on compact width (left) and regular width (right)
Example of order picker form cells on compact width (left) and regular width (right)

Variations

Modality

Order picker form cells can be used inside several different containers.

Example showing order picker being used in a form panel and a bottom sheet
Example showing order picker being used in a form panel and a bottom sheet

Resources

Development: FUIOrderPickerFormCell

Related Components/Patterns: Sort & Filter