

Every state


default


hover


focus


clear-focus


cleared


empty
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "menu-recent" | Id for the heading; the list is labelled by it. |
| heading | string | "Recently viewed" | heading |
| entries | MenuItemRecentEntry[] | [ { label: "Enamelled cast-iron casserole, 24 cm", href: "/p/casserole-24", where: "Cookware", icon: "package", when:… | entries |
| clearLabel | string | null | "Clear" | Label of the clear button. Null: no button. |
| emptyText | string | "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. |
| className | string | – | className |
More menu items
All 8menu-item-07 is in UI ProGet UI Pro, €199


