Skip to main content

Sort Buttons

Role attribute

Every instance of this component carries:

Add this attribute
Namewf-algolia-element
Valuesort-group
Optional1 attribute
Sort index

Replica index for a sort-item child button (empty value = primary index). Authored on each sort-item, not the parent group.

Accepts e.g. products_price_asc

Elements inside it

These roles are placed inside this component, not on their own:

sort-group
└─ sort-item
  • — One sort button; carries wf-algolia-sort-index (empty = primary index).