Skip to content
Recent items, light
Light
Recent items, dark
Dark

Every state

  • Recent items, default, light
    Recent items, default, dark

    default

  • Recent items, hover, light
    Recent items, hover, dark

    hover

  • Recent items, focus, light
    Recent items, focus, dark

    focus

  • Recent items, clear-focus, light
    Recent items, clear-focus, dark

    clear-focus

  • Recent items, cleared, light
    Recent items, cleared, dark

    cleared

  • Recent items, empty, light
    Recent items, empty, dark

    empty

Props

PropTypeDefaultWhat it does
idstring"menu-recent"Id for the heading; the list is labelled by it.
headingstring"Recently viewed"heading
entriesMenuItemRecentEntry[][ { label: "Enamelled cast-iron casserole, 24 cm", href: "/p/casserole-24", where: "Cookware", icon: "package", when:…entries
clearLabelstring | null"Clear"Label of the clear button. Null: no button.
emptyTextstring"Nothing here yet. Pages you open will show up here."Said where the list was, once it is empty.
onClear() => void–Called when Clear is pressed, so you can forget the history where you keep it.
classNamestring–className

More menu items

All 8
menu-item-07 is in UI ProGet UI Pro, €199

Preview

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

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