{
 "name": "if-else",
 "title": "If else",
 "component": "IfElseIcon",
 "url": "https://gentleface.com/icons/if-else",
 "category": "development",
 "motif": "if-else",
 "added": "2026-11-12",
 "history": [
  {
   "date": "2026-11-12",
   "what": [
    "20 px drawn",
    "24 px drawn",
    "added"
   ]
  }
 ],
 "geometry_hash": "109726b0f9d5",
 "use_for": [
  "conditional",
  "branching logic",
  "if else"
 ],
 "family": [],
 "tags": [
  "if",
  "else",
  "condition",
  "conditional",
  "branch",
  "logic",
  "decision",
  "flowchart",
  "programming"
 ],
 "size": 16,
 "styles": [
  "line-round",
  "line-soft",
  "line-sharp",
  "solid-round",
  "solid-soft",
  "solid-sharp"
 ],
 "default_style": "line-round",
 "svg": {
  "line-round": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M12.42 4.176C12.741 4.303 13.024 4.488 13.268 4.732C13.512 4.976 13.697 5.259 13.824 5.58C13.941 5.875 14 6.182 14 6.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14C13.359 14 13.241 13.952 13.144 13.856C13.048 13.759 13 13.641 13 13.5L13 6.5C13 6.309 12.965 6.125 12.895 5.948C12.818 5.755 12.707 5.586 12.561 5.439C12.414 5.293 12.245 5.182 12.052 5.105C11.875 5.035 11.691 5 11.5 5L10.662 5C10.619 5.073 10.565 5.143 10.5 5.207L8.207 7.5C8.012 7.695 7.776 7.793 7.5 7.793C7.224 7.793 6.988 7.695 6.793 7.5L4.5 5.207C4.435 5.142 4.381 5.073 4.338 5L3.5 5C3.309 5 3.125 5.035 2.948 5.105C2.755 5.182 2.586 5.293 2.439 5.439C2.293 5.586 2.182 5.755 2.105 5.948C2.035 6.125 2 6.309 2 6.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 6.5C1 6.182 1.059 5.875 1.176 5.58C1.303 5.259 1.488 4.976 1.732 4.732C1.976 4.488 2.259 4.303 2.58 4.176C2.875 4.059 3.182 4 3.5 4L4.338 4C4.381 3.927 4.435 3.858 4.5 3.793L6.793 1.5C6.988 1.305 7.224 1.207 7.5 1.207C7.776 1.207 8.012 1.305 8.207 1.5L10.5 3.793C10.565 3.857 10.619 3.927 10.662 4L11.5 4C11.818 4 12.125 4.059 12.42 4.176ZM5.207 4.5L7.5 6.793L9.793 4.5L7.5 2.207L5.207 4.5Z\"/></svg>",
  "line-soft": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M12.42 4.176C12.741 4.303 13.024 4.488 13.268 4.732C13.512 4.976 13.697 5.259 13.824 5.58C13.941 5.875 14 6.182 14 6.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14C13.359 14 13.241 13.952 13.144 13.856C13.048 13.759 13 13.641 13 13.5L13 6.5C13 6.309 12.965 6.125 12.895 5.948C12.818 5.755 12.707 5.586 12.561 5.439C12.414 5.293 12.245 5.182 12.052 5.105C11.875 5.035 11.691 5 11.5 5L10.707 5L7.854 7.854C7.754 7.953 7.636 8.003 7.5 8.003C7.364 8.003 7.246 7.953 7.146 7.854L4.293 5L3.5 5C3.309 5 3.125 5.035 2.948 5.105C2.755 5.182 2.586 5.293 2.439 5.439C2.293 5.586 2.182 5.755 2.105 5.948C2.035 6.125 2 6.309 2 6.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 6.5C1 6.182 1.059 5.875 1.176 5.58C1.303 5.259 1.488 4.976 1.732 4.732C1.976 4.488 2.259 4.303 2.58 4.176C2.875 4.059 3.182 4 3.5 4L4.293 4L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L10.707 4L11.5 4C11.818 4 12.125 4.059 12.42 4.176ZM5.207 4.5L7.5 6.793L9.793 4.5L7.5 2.207L5.207 4.5Z\"/></svg>",
  "line-sharp": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M10.707 4L11.5 4C11.818 4 12.125 4.059 12.42 4.176C12.741 4.303 13.024 4.488 13.268 4.732C13.512 4.976 13.697 5.259 13.824 5.58C13.941 5.875 14 6.182 14 6.5L14 14L13 14L13 6.5C13 6.309 12.965 6.125 12.895 5.948C12.818 5.755 12.707 5.586 12.561 5.439C12.414 5.293 12.245 5.182 12.052 5.105C11.875 5.035 11.691 5 11.5 5L10.707 5L7.5 8.207L4.293 5L3.5 5C3.309 5 3.125 5.035 2.948 5.105C2.755 5.182 2.586 5.293 2.439 5.439C2.293 5.586 2.182 5.755 2.105 5.948C2.035 6.125 2 6.309 2 6.5L2 14L1 14L1 6.5C1 6.182 1.059 5.875 1.176 5.58C1.303 5.259 1.488 4.976 1.732 4.732C1.976 4.488 2.259 4.303 2.58 4.176C2.875 4.059 3.182 4 3.5 4L4.293 4L7.293 1L7.707 1L10.707 4ZM7.5 2.207L5.207 4.5L7.5 6.793L9.793 4.5L7.5 2.207Z\"/></svg>",
  "solid-round": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M11.5 4C11.818 4 12.125 4.059 12.42 4.176C12.741 4.303 13.024 4.488 13.268 4.732C13.512 4.976 13.697 5.259 13.824 5.58C13.941 5.875 14 6.182 14 6.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14C13.359 14 13.241 13.952 13.144 13.856C13.048 13.759 13 13.641 13 13.5L13 6.5C13 6.309 12.965 6.125 12.895 5.948C12.818 5.755 12.707 5.586 12.561 5.439C12.414 5.293 12.245 5.182 12.052 5.105C11.875 5.035 11.691 5 11.5 5L10.662 5C10.619 5.073 10.565 5.143 10.5 5.207L8.207 7.5C8.012 7.695 7.776 7.793 7.5 7.793C7.224 7.793 6.988 7.695 6.793 7.5L4.5 5.207C4.435 5.142 4.381 5.073 4.338 5L3.5 5C3.309 5 3.125 5.035 2.948 5.105C2.755 5.182 2.586 5.293 2.439 5.439C2.293 5.586 2.182 5.755 2.105 5.948C2.035 6.125 2 6.309 2 6.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 6.5C1 6.182 1.059 5.875 1.176 5.58C1.303 5.259 1.488 4.976 1.732 4.732C1.976 4.488 2.259 4.303 2.58 4.176C2.875 4.059 3.182 4 3.5 4L4.338 4C4.381 3.927 4.435 3.858 4.5 3.793L6.793 1.5C6.988 1.305 7.224 1.207 7.5 1.207C7.776 1.207 8.012 1.305 8.207 1.5L10.5 3.793C10.565 3.857 10.619 3.927 10.662 4L11.5 4Z\"/></svg>",
  "solid-soft": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M7.854 1.146L10.707 4L11.5 4C11.818 4 12.125 4.059 12.42 4.176C12.741 4.303 13.024 4.488 13.268 4.732C13.512 4.976 13.697 5.259 13.824 5.58C13.941 5.875 14 6.182 14 6.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14C13.359 14 13.241 13.952 13.144 13.856C13.048 13.759 13 13.641 13 13.5L13 6.5C13 6.309 12.965 6.125 12.895 5.948C12.818 5.755 12.707 5.586 12.561 5.439C12.414 5.293 12.245 5.182 12.052 5.105C11.875 5.035 11.691 5 11.5 5L10.707 5L7.854 7.854C7.754 7.953 7.636 8.003 7.5 8.003C7.364 8.003 7.246 7.953 7.146 7.854L4.293 5L3.5 5C3.309 5 3.125 5.035 2.948 5.105C2.755 5.182 2.586 5.293 2.439 5.439C2.293 5.586 2.182 5.755 2.105 5.948C2.035 6.125 2 6.309 2 6.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 6.5C1 6.182 1.059 5.875 1.176 5.58C1.303 5.259 1.488 4.976 1.732 4.732C1.976 4.488 2.259 4.303 2.58 4.176C2.875 4.059 3.182 4 3.5 4L4.293 4L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146Z\"/></svg>",
  "solid-sharp": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M11.5 4C11.818 4 12.125 4.059 12.42 4.176C12.741 4.303 13.024 4.488 13.268 4.732C13.512 4.976 13.697 5.259 13.824 5.58C13.941 5.875 14 6.182 14 6.5L14 14L13 14L13 6.5C13 6.309 12.965 6.125 12.895 5.948C12.818 5.755 12.707 5.586 12.561 5.439C12.414 5.293 12.245 5.182 12.052 5.105C11.875 5.035 11.691 5 11.5 5L10.707 5L7.5 8.207L4.293 5L3.5 5C3.309 5 3.125 5.035 2.948 5.105C2.755 5.182 2.586 5.293 2.439 5.439C2.293 5.586 2.182 5.755 2.105 5.948C2.035 6.125 2 6.309 2 6.5L2 14L1 14L1 6.5C1 6.182 1.059 5.875 1.176 5.58C1.303 5.259 1.488 4.976 1.732 4.732C1.976 4.488 2.259 4.303 2.58 4.176C2.875 4.059 3.182 4 3.5 4L4.293 4L7.293 1L7.707 1L10.707 4L11.5 4Z\"/></svg>"
 },
 "svg_url": {
  "line-round": "https://gentleface.com/svg/line-round/16/if-else.svg",
  "line-soft": "https://gentleface.com/svg/line-soft/16/if-else.svg",
  "line-sharp": "https://gentleface.com/svg/line-sharp/16/if-else.svg",
  "solid-round": "https://gentleface.com/svg/solid-round/16/if-else.svg",
  "solid-soft": "https://gentleface.com/svg/solid-soft/16/if-else.svg",
  "solid-sharp": "https://gentleface.com/svg/solid-sharp/16/if-else.svg"
 },
 "png_url": {
  "line-round": {
   "16": "https://gentleface.com/png/line-round/16/if-else.png",
   "32": "https://gentleface.com/png/line-round/32/if-else.png",
   "48": "https://gentleface.com/png/line-round/48/if-else.png"
  },
  "line-soft": {
   "16": "https://gentleface.com/png/line-soft/16/if-else.png",
   "32": "https://gentleface.com/png/line-soft/32/if-else.png",
   "48": "https://gentleface.com/png/line-soft/48/if-else.png"
  },
  "line-sharp": {
   "16": "https://gentleface.com/png/line-sharp/16/if-else.png",
   "32": "https://gentleface.com/png/line-sharp/32/if-else.png",
   "48": "https://gentleface.com/png/line-sharp/48/if-else.png"
  },
  "solid-round": {
   "16": "https://gentleface.com/png/solid-round/16/if-else.png",
   "32": "https://gentleface.com/png/solid-round/32/if-else.png",
   "48": "https://gentleface.com/png/solid-round/48/if-else.png"
  },
  "solid-soft": {
   "16": "https://gentleface.com/png/solid-soft/16/if-else.png",
   "32": "https://gentleface.com/png/solid-soft/32/if-else.png",
   "48": "https://gentleface.com/png/solid-soft/48/if-else.png"
  },
  "solid-sharp": {
   "16": "https://gentleface.com/png/solid-sharp/16/if-else.png",
   "32": "https://gentleface.com/png/solid-sharp/32/if-else.png",
   "48": "https://gentleface.com/png/solid-sharp/48/if-else.png"
  }
 },
 "license": "MIT",
 "author": "Alexander Kiselev"
}