Skip to content
Sort menu, light
Light
Sort menu, dark
Dark

Every state

  • Sort menu, default, light
    Sort menu, default, dark

    default

  • Sort menu, focus, light
    Sort menu, focus, dark

    focus

  • Sort menu, open, light
    Sort menu, open, dark

    open

  • Sort menu, hover-row, light
    Sort menu, hover-row, dark

    hover-row

  • Sort menu, chosen, light
    Sort menu, chosen, dark

    chosen

  • Sort menu, keyboard, light
    Sort menu, keyboard, dark

    keyboard

Props

PropTypeDefaultWhat it does
options{ value: string; label: string }[]The orders you offer: a value and its label.Eight orders: most relevant, newest, price both ways, rating, popularity, name both ways.
defaultValuestring"relevance"Chosen value when uncontrolled.
valuestring–Chosen value when controlled.
onValueChange(value: string) => void–Called with the new value when a row is chosen.
labelstring"Sort by"Small label on the trigger and the menu heading.
defaultOpenboolean–Opens the menu on mount (previews).
classNamestring–Extra classes on the wrapper.

More dropdown menus

All 4

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans