@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
17 lines (16 loc) • 4.32 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconLut = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("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: "M4 3.5H14C14.2761 3.5 14.5 3.72386 14.5 4V5.75C14.5 6.16421 14.8358 6.5 15.25 6.5C15.6642 6.5 16 6.16421 16 5.75V4C16 2.89543 15.1046 2 14 2H4C2.89543 2 2 2.89543 2 4V14C2 15.1046 2.89543 16 4 16H5.75C6.16421 16 6.5 15.6642 6.5 15.25C6.5 14.8358 6.16421 14.5 5.75 14.5H4C3.72386 14.5 3.5 14.2761 3.5 14V4C3.5 3.72386 3.72386 3.5 4 3.5ZM9.86667 9.5H12.1504V12.1602H9.5V9.86667C9.5 9.66416 9.66416 9.5 9.86667 9.5ZM13.6504 8H12.1504H9.86667C8.83574 8 8 8.83574 8 9.86667V12.1602V13.6602V16.3477V17.8477V20.1339C8 21.1648 8.83574 22.0005 9.86667 22.0005H12.1504H13.6504H16.3535H17.8535H20.1376C21.1685 22.0005 22.0043 21.1648 22.0043 20.1339V17.8477V16.3477V13.6602V12.1602V9.86667C22.0043 8.83574 21.1685 8 20.1376 8H17.8535H16.3535H13.6504ZM16.3535 9.5H13.6504V12.1602H16.3535V9.5ZM16.3535 13.6602H13.6504V16.3477H16.3535V13.6602ZM17.8535 16.3477V13.6602H20.5043V16.3477H17.8535ZM16.3535 17.8477H13.6504V20.5005H16.3535V17.8477ZM17.8535 20.5005V17.8477H20.5043V20.1339C20.5043 20.3364 20.3401 20.5005 20.1376 20.5005H17.8535ZM17.8535 12.1602V9.5H20.1376C20.3401 9.5 20.5043 9.66416 20.5043 9.86667V12.1602H17.8535ZM12.1504 20.5005V17.8477H9.5V20.1339C9.5 20.3364 9.66416 20.5005 9.86667 20.5005H12.1504ZM12.1504 16.3477V13.6602H9.5V16.3477H12.1504Z" }) }));
case "s":
return (_jsx("svg", { viewBox: "0 0 16 16", 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: "M1 3.5C1 2.11929 2.11929 1 3.5 1H8.5C9.88071 1 11 2.11929 11 3.5C11 3.77614 10.7761 4 10.5 4C10.2239 4 10 3.77614 10 3.5C10 2.67157 9.32843 2 8.5 2H3.5C2.67157 2 2 2.67157 2 3.5V8.5C2 9.22487 2.51417 9.82966 3.1977 9.96953C3.29534 9.98951 3.39645 10 3.5 10C3.77614 10 4 10.2239 4 10.5C4 10.7761 3.77614 11 3.5 11C2.11929 11 1 9.88071 1 8.5V3.5ZM6 7C6 6.44772 6.44772 6 7 6H8V8H6V7ZM9 5H8H7C5.89543 5 5 5.89543 5 7V8V9V11V12V13C5 14.1046 5.89543 15 7 15H8H9H11H12H13C14.1046 15 15 14.1046 15 13V12V11V9V8V7C15 5.89543 14.1046 5 13 5H12H11H9ZM11 6H9V8H11V6ZM11 9H9V11H11V9ZM12 11V9H14V11H12ZM11 12H9V14H11V12ZM12 14V12H14V13C14 13.5523 13.5523 14 13 14H12ZM12 8V6H13C13.5523 6 14 6.44772 14 7V8H12ZM7 14H8V12H6V13C6 13.5523 6.44772 14 7 14ZM8 11V9H6V11H8Z" }) }));
default:
return (_jsx("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: "M4 3H11C11.5523 3 12 3.44772 12 4V5.5C12 5.77614 12.2239 6 12.5 6C12.7761 6 13 5.77614 13 5.5V4C13 2.89543 12.1046 2 11 2H4C2.89543 2 2 2.89543 2 4V11C2 12.1046 2.89543 13 4 13H5.5C5.77614 13 6 12.7761 6 12.5C6 12.2239 5.77614 12 5.5 12H4C3.44772 12 3 11.5523 3 11V4C3 3.44772 3.44772 3 4 3ZM11.3496 10.3516V8H13.6504V10.3516H11.3496ZM14.6504 7H13.6504H11.3496H10.3496H9C7.89543 7 7 7.89543 7 9V10.3516V11.3516V13.6484V14.6484V15.9972C7 17.1018 7.89543 17.9972 9 17.9972L10.3496 17.9972H11.3496H13.6504H14.6504L16.0001 17.9972C17.1047 17.9972 18.0001 17.1018 18.0001 15.9972V14.6484V13.6484V11.3516V10.3516V9C18.0001 7.89543 17.1047 7 16.0001 7H14.6504ZM16.0001 16.9972H14.6504V14.6484H17.0001V15.9972C17.0001 16.5495 16.5524 16.9972 16.0001 16.9972ZM13.6504 16.9972V14.6484H11.3496V16.9972H13.6504ZM17.0001 13.6484H14.6504V11.3516H17.0001V13.6484ZM17.0001 10.3516H14.6504V8H16.0001C16.5524 8 17.0001 8.44772 17.0001 9V10.3516ZM10.3496 14.6484V16.9972H9C8.44772 16.9972 8 16.5495 8 15.9972V14.6484H10.3496ZM13.6504 13.6484V11.3516H11.3496V13.6484H13.6504ZM10.3496 11.3516V13.6484H8V11.3516H10.3496ZM10.3496 10.3516H8V9C8 8.44772 8.44772 8 9 8H10.3496V10.3516Z" }) }));
}
};
IconLut.iconName = "lut";
export default IconLut;