// Icons.jsx — inline SVG icon registry. Replaces Material Symbols font usage
// so icons render reliably without waiting on a CDN font.
// All icons are 24x24, stroke-based, weight 2, rounded line caps/joins.
const ICON_PATHS = {
// navigation / chrome
search: <>>,
search_off: <>>,
person: <>>,
favorite: ,
shopping_cart: <>>,
shopping_basket:<>>,
location_on: <>>,
menu: <>>,
close: ,
chevron_right: ,
chevron_down: ,
arrow_forward: <>>,
add: <>>,
remove: ,
check: ,
// commerce
local_shipping: <>>,
credit_card: <>>,
verified: <>>,
support_agent: <>>,
storefront: <>>,
star: ,
star_border: ,
check_circle: <>>,
lock: <>>,
delete: <>>,
tune: <>>,
// category icons
devices: <>>,
chair: <>>,
spa: <>>,
checkroom: <>>,
exercise: <>>,
child_care: <>>,
construction: <>>,
};
const Icon = ({ name, size = 20, color = "currentColor", fill = false, weight = 2, style }) => {
const inner = ICON_PATHS[name] || ICON_PATHS.search;
return (
);
};
window.AllenIcon = Icon;