@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 5.02 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconProfileSwitch = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsxs("svg", { viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: [_jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.5 16C6.88071 16 8 17.1193 8 18.5C8 19.8807 6.88071 21 5.5 21C4.11929 21 3 19.8807 3 18.5C3 17.1193 4.11929 16 5.5 16ZM5.5 17.5C4.94772 17.5 4.5 17.9477 4.5 18.5C4.5 19.0523 4.94772 19.5 5.5 19.5C6.05228 19.5 6.5 19.0523 6.5 18.5C6.5 17.9477 6.05228 17.5 5.5 17.5Z" }), _jsx("path", { d: "M12 16C13.3807 16 14.5 17.1193 14.5 18.5C14.5 19.8807 13.3807 21 12 21C10.6193 21 9.5 19.8807 9.5 18.5C9.5 17.1193 10.6193 16 12 16Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5 16C19.8807 16 21 17.1193 21 18.5C21 19.8807 19.8807 21 18.5 21C17.1193 21 16 19.8807 16 18.5C16 17.1193 17.1193 16 18.5 16ZM18.5 17.5C17.9477 17.5 17.5 17.9477 17.5 18.5C17.5 19.0523 17.9477 19.5 18.5 19.5C19.0523 19.5 19.5 19.0523 19.5 18.5C19.5 17.9477 19.0523 17.5 18.5 17.5Z" }), _jsx("path", { d: "M8.25 9.5C8.94036 9.5 9.5 10.0596 9.5 10.75C9.5 11.4404 8.94036 12 8.25 12C7.55964 12 7 11.4404 7 10.75C7 10.0596 7.55964 9.5 8.25 9.5Z" }), _jsx("path", { d: "M12 9.5C12.6904 9.5 13.25 10.0596 13.25 10.75C13.25 11.4404 12.6904 12 12 12C11.3096 12 10.75 11.4404 10.75 10.75C10.75 10.0596 11.3096 9.5 12 9.5Z" }), _jsx("path", { d: "M15.75 9.5C16.4404 9.5 17 10.0596 17 10.75C17 11.4404 16.4404 12 15.75 12C15.0596 12 14.5 11.4404 14.5 10.75C14.5 10.0596 15.0596 9.5 15.75 9.5Z" }), _jsx("path", { d: "M8.25 6C8.94036 6 9.5 6.55964 9.5 7.25C9.5 7.94036 8.94036 8.5 8.25 8.5C7.55964 8.5 7 7.94036 7 7.25C7 6.55964 7.55964 6 8.25 6Z" }), _jsx("path", { d: "M12 6C12.6904 6 13.25 6.55964 13.25 7.25C13.25 7.94036 12.6904 8.5 12 8.5C11.3096 8.5 10.75 7.94036 10.75 7.25C10.75 6.55964 11.3096 6 12 6Z" }), _jsx("path", { d: "M15.75 6C16.4404 6 17 6.55964 17 7.25C17 7.94036 16.4404 8.5 15.75 8.5C15.0596 8.5 14.5 7.94036 14.5 7.25C14.5 6.55964 15.0596 6 15.75 6Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 3C19.1046 3 20 3.89543 20 5V13L19.9893 13.2041C19.887 14.2128 19.0357 15 18 15H6L5.7959 14.9893C4.85435 14.8938 4.1062 14.1457 4.01074 13.2041L4 13V5C4 3.96435 4.78722 3.113 5.7959 3.01074L6 3H18ZM6 4.5C5.72386 4.5 5.5 4.72386 5.5 5V13C5.5 13.2761 5.72386 13.5 6 13.5H18C18.2761 13.5 18.5 13.2761 18.5 13V5C18.5 4.72386 18.2761 4.5 18 4.5H6Z" })] }));
default:
return (_jsxs("svg", { viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: [_jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5 13C6.10457 13 7 13.8954 7 15C7 16.1046 6.10457 17 5 17C3.89543 17 3 16.1046 3 15C3 13.8954 3.89543 13 5 13ZM5 14C4.44772 14 4 14.4477 4 15C4 15.5523 4.44772 16 5 16C5.55228 16 6 15.5523 6 15C6 14.4477 5.55228 14 5 14Z" }), _jsx("path", { d: "M10 13C11.1046 13 12 13.8954 12 15C12 16.1046 11.1046 17 10 17C8.89543 17 8 16.1046 8 15C8 13.8954 8.89543 13 10 13Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15 13C16.1046 13 17 13.8954 17 15C17 16.1046 16.1046 17 15 17C13.8954 17 13 16.1046 13 15C13 13.8954 13.8954 13 15 13ZM15 14C14.4477 14 14 14.4477 14 15C14 15.5523 14.4477 16 15 16C15.5523 16 16 15.5523 16 15C16 14.4477 15.5523 14 15 14Z" }), _jsx("path", { d: "M7 8C7.55228 8 8 8.44772 8 9C8 9.55228 7.55228 10 7 10C6.44772 10 6 9.55228 6 9C6 8.44772 6.44772 8 7 8Z" }), _jsx("path", { d: "M10 8C10.5523 8 11 8.44772 11 9C11 9.55228 10.5523 10 10 10C9.44772 10 9 9.55228 9 9C9 8.44772 9.44772 8 10 8Z" }), _jsx("path", { d: "M13 8C13.5523 8 14 8.44772 14 9C14 9.55228 13.5523 10 13 10C12.4477 10 12 9.55228 12 9C12 8.44772 12.4477 8 13 8Z" }), _jsx("path", { d: "M7 5C7.55228 5 8 5.44772 8 6C8 6.55228 7.55228 7 7 7C6.44772 7 6 6.55228 6 6C6 5.44772 6.44772 5 7 5Z" }), _jsx("path", { d: "M10 5C10.5523 5 11 5.44772 11 6C11 6.55228 10.5523 7 10 7C9.44772 7 9 6.55228 9 6C9 5.44772 9.44772 5 10 5Z" }), _jsx("path", { d: "M13 5C13.5523 5 14 5.44772 14 6C14 6.55228 13.5523 7 13 7C12.4477 7 12 6.55228 12 6C12 5.44772 12.4477 5 13 5Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.2041 3.01074C15.2128 3.113 16 3.96435 16 5V10L15.9893 10.2041C15.8938 11.1457 15.1457 11.8938 14.2041 11.9893L14 12H6L5.7959 11.9893C4.85435 11.8938 4.1062 11.1457 4.01074 10.2041L4 10V5C4 3.96435 4.78722 3.113 5.7959 3.01074L6 3H14L14.2041 3.01074ZM6 4C5.44772 4 5 4.44772 5 5V10C5 10.5523 5.44772 11 6 11H14C14.5523 11 15 10.5523 15 10V5C15 4.48232 14.6067 4.05621 14.1025 4.00488L14 4H6Z" })] }));
}
};
IconProfileSwitch.iconName = "profile-switch";
export default IconProfileSwitch;