

Every state


default


hover


focus


two-suggestions


signed-in


no-suggestions
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "empty-cart" | Prefix for the ids inside; give each one on a page its own. |
| icon | "shopping-bag" | "shopping-cart" | "package" | null | "shopping-bag" | Lucide icon over the heading. Null: none. |
| title | string | "Your cart is empty" | Heading. |
| message | string | – | One short line under the heading. |
| shopLabel | string | "Continue shopping" | The primary link's text. |
| shopHref | string | "/shop" | Where the primary link goes. |
| signInHref | string | null | "/account/sign-in" | Sign-in link for a saved cart. Null hides the line. |
| signInText | string | "Saved a cart before? Sign in to see it." | The line; the words Sign in become the link. |
| suggestionsTitle | string | "Popular this week" | Heading over the suggestions. |
| suggestions | { name; href; image; price; compareAtPrice? }[] | null | – | Two or three products. Null hides the row. |
| currency | string | "EUR" | ISO 4217 code. |
| locale | string | "en-IE" | Formats the prices. |
| className | string | – | Extra classes on the wrapper. |


