Design
Mobile menu, cart & filters
The mobile menu, the cart and a shop's filters are sheets: panels that slide over the page. Each has ten templates to start from, and each template is an ordinary page of widgets, so everything in it stays editable.
Using a template
- Open the Mobile Menu, Cart or Filters page in the builder.
- Pick a template from the row above the preview. The one in use is highlighted.
- Edit it like any page. Its structure shows in the Layers panel.
If your site has an aesthetic, the template takes your colours. Picking a template replaces the sheet, and Undo brings the last one back. Generating a design picks all three for you: the filters always match the cart, with the same template.
Mobile menu templates
| Template | What it looks like |
|---|---|
| Gallery | Every link a picture tile. |
| Clean list | Quiet rows with dividers; account and help at the foot. |
| Editorial | Big type on warm paper, like a magazine's contents page. |
| Midnight | A dark sheet with numbered links and social icons. |
| Card stack | Rounded cards with small thumbnails, and a shop-all button. |
| Photo grid | A two-column grid of square picture tiles. |
| Pill cloud | A friendly question, and links as tappable pills. |
| After dark | Centred, spaced capitals on black. |
| Brand band | A coloured welcome band, a plain list and two buttons. |
| Whisper | Almost nothing: thin rules and no arrows. |
The menu lists your pages and catalogs. Categories, brands and collections open as dropdowns when you have more than one, and a header link with sub-links opens the same way.
Cart templates
Every line in every cart has a quantity control and a way to delete it. Templates differ in how they show them:
| Template | Lines | Quantity | Delete |
|---|---|---|---|
| Classic | Rows | Stepper | × in the corner |
| Card stack | Cards | Pill | Bin |
| Editorial | Picture on top | Plain text | “Remove” link |
| Midnight | Compact, dark | Pill | Bin |
| Whisper | No pictures | Plain text | × |
| Boutique | Large picture, coloured band | Dropdown | “Remove” link |
| Receipt | Compact, like a till slip | Box | “Remove” link |
| After dark | Dark cards | Pill | × in the corner |
| Pill cloud | Cards on a soft colour | Pill | Bin |
| Spacious | Large picture | Stepper | Bin |
A dropdown offers quantities up to the stock available, to a maximum of ten. Steppers and pills stop at one and at the stock available.
Cart lines in code
The lines are a single element, cart-items, inside a ListView. Select it to change these in its properties, or set them in code:
<ListView fillHeight>
<cart-items
layout="cards"
quantity="pill"
remove="trash"
textColor="#111827"
cardColor="#ffffff"
/>
</ListView>| Prop | What it sets | Values |
|---|---|---|
layout | How each line is arranged | rows, cards, compact, large, stacked, minimal |
quantity | The quantity control | stepper, pill, boxed, select, text |
remove | The delete control | x, trash, text |
textColor, mutedColor | The line's text | Any colour |
accentColor, lineColor, cardColor | The pill, the dividers and the cards | Any colour |
fontSize, imageRadius | Text size and picture corners | A number |
emptyText | What an empty cart says | Any text |
The cart heading, cart-title, also takes text for its label (“Your bag”), showIcon and uppercase.
Filter templates
On phones and tablets, the Filters button on the Products page opens the filter sheet: sort, then your categories, brands and collections, then a price range. A group your shop has nothing in is left out. Templates differ in how the options show and where the two buttons sit:
| Template | Options | Buttons |
|---|---|---|
| Classic | Ticked boxes | Clear all beside Show results |
| Card stack | Chips on soft grey | Side by side, rounded |
| Editorial | A tick on the right, ruled sections | Show results over a “Clear all” link |
| Midnight | Chips on a dark sheet | Side by side |
| Whisper | Round markers | Clear all beside an outlined Show results |
| Boutique | Buttons, two to a row, under a coloured band | Show results over Clear all |
| Receipt | Ticked boxes, ruled sections | Side by side, in capitals |
| After dark | Chips on black | Side by side, in capitals |
| Pill cloud | Chips on a soft colour | Side by side |
| Spacious | Ticked boxes, larger type | Side by side |
Show results applies what's chosen and closes the sheet. Clear all clears every filter and keeps the sheet open. The heading shows how many filters are on.
Filters in code
The options are a single element, filter-body, inside a ListView. Select it to change these in its properties, or set them in code:
<ListView fillHeight>
<filter-body
layout="chips"
headings="bold"
price="pill"
textColor="#111827"
accentColor="#111827"
hideBrands
/>
</ListView>| Prop | What it sets | Values |
|---|---|---|
layout | How the options show | list, chips, buttons |
marker | The tick, in a list | square, round, check |
headings | The group headings | caps, bold, lined |
price | The price fields | boxed, underline, pill |
textColor, mutedColor | The text, and the headings and labels | Any colour |
accentColor, lineColor, fieldColor | What's chosen, the outlines and the fields | Any colour |
fontSize, radius | Text size and corners | A number |
hideSort, hideCategories, hideBrands, hideCollections, hidePrice | Leave a group out | On or off |
sortTitle, categoriesTitle, brandsTitle, collectionsTitle, priceTitle | A group's heading | Any text |
The buttons are filter-buttons: action="reset" clears and action="apply" shows the results. They take a button's usual props, and fullWidth fills their share of the row:
<Row className="gap-3">
<filter-button action="reset" text="Clear all" fullWidth flexGrow={1} />
<filter-button action="apply" text="Show results" fullWidth flexGrow={1} />
</Row>The heading, filter-title, takes text for its label, uppercase, and countColor for the “2 active” line under it.