Icons
Mampfio uses a selection of Lucide icons: line icons (outlined, not filled) on a 24 px grid with 2 px lines and rounded ends, the brand book's icon style.
Icons draw in currentColor, so they take the text colour: ink on surfaces, on-action on primary buttons. Only the icons listed here are part of the design system. Each has one meaning; don't use an icon for something else.
Ordering
shopping-basketBasket (Warenkorb), with the item count as a count badge (`.mf-badge-count`)plusAdd one more of a dishminusRemove one of a dishtrash-2Remove a dish from the basketreceipt-textOrder and order history (Bestellung). Not `receipt`, which shows a dollar signFood and restaurants
pizzaPizza as a cuisine filter. Not a replacement for the logoutensilsRestaurant or cuisine in generalchef-hatKitchen view in the restaurant backofficestarRating (Bewertung)heartFavourite restaurant or dishDelivery
bikeRider on the way (Lieferung)map-pinDelivery addressclockDelivery timephoneCall the restaurant or the riderStatus
circle-checkSuccess, always with text (alert-success)circle-alertError, always with text (alert-danger)Navigation and actions
searchSearchfunnelFiltersmenuOpen the navigation on small screensarrow-leftBackchevron-rightGo to a detail pagechevron-downExpand, dropdownxClose, remove a filtercheckSelected, doneuserAccount and loginsunSwitch to the light thememoonSwitch to the dark themeUsing an icon
Inside a link or button, the icon is decoration: hide it from screen readers and keep the text.
<button type="button" class="btn btn-primary d-inline-flex align-items-center gap-2">
<svg class="mf-icon mf-icon-sm" aria-hidden="true"><use href="/webjars/mampfio-design-system/icons/icons.svg#shopping-basket"></use></svg>
In den Warenkorb
</button>
Alone, an icon needs a name: <svg class="mf-icon" role="img" aria-label="Warenkorb">. Use .mf-icon (24 px) on its own and .mf-icon-sm (20 px) in buttons and next to text.
Licence: Lucide (ISC and MIT).