{
 "name": "mouse-lock",
 "title": "Mouse lock",
 "component": "MouseLockIcon",
 "url": "https://gentleface.com/icons/mouse-lock",
 "category": "devices",
 "motif": "mouse",
 "added": "2026-11-06",
 "since": "0.4.0",
 "history": [
  {
   "date": "2026-11-06",
   "what": [
    "added",
    "released in 0.4.0"
   ]
  }
 ],
 "geometry_hash": "d68ece5c01fa",
 "use_for": [
  "pointer lock",
  "capture pointer"
 ],
 "example": "Lock the pointer to the game window",
 "base": "mouse",
 "modifier": "lock",
 "family": [
  "mouse",
  "mouse-gear",
  "mouse-left-click",
  "mouse-off",
  "mouse-right-click",
  "mouse-scroll"
 ],
 "tags": [
  "mouse",
  "click",
  "scroll",
  "peripheral",
  "input",
  "pointing-device",
  "lock"
 ],
 "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=\"M3.316 3.844C3.545 3.266 3.879 2.757 4.318 2.318C4.757 1.879 5.266 1.545 5.844 1.316C6.376 1.105 6.928 1 7.5 1C8.072 1 8.624 1.105 9.156 1.316C9.734 1.545 10.243 1.879 10.682 2.318C11.121 2.757 11.455 3.266 11.684 3.844C11.895 4.376 12 4.928 12 5.5C12 5.641 11.952 5.759 11.856 5.856C11.759 5.952 11.641 6 11.5 6C11.359 6 11.241 5.952 11.144 5.856C11.048 5.759 11 5.641 11 5.5C11 5.055 10.918 4.625 10.754 4.212C10.576 3.762 10.317 3.367 9.975 3.025C9.633 2.683 9.238 2.424 8.788 2.246C8.375 2.082 7.945 2 7.5 2C7.055 2 6.625 2.082 6.212 2.246C5.762 2.424 5.367 2.683 5.025 3.025C4.683 3.367 4.424 3.762 4.246 4.212C4.082 4.625 4 5.055 4 5.5L4 10.5C4 10.874 4.059 11.239 4.176 11.595C4.3 11.971 4.482 12.316 4.723 12.631C4.964 12.945 5.25 13.21 5.582 13.427C5.895 13.633 6.232 13.784 6.594 13.881C6.727 13.916 6.828 13.994 6.897 14.114C6.921 14.155 6.939 14.197 6.95 14.24L6.95 14.482C6.949 14.486 6.948 14.489 6.947 14.493C6.911 14.626 6.834 14.728 6.714 14.797C6.595 14.866 6.468 14.882 6.335 14.847C5.87 14.722 5.436 14.528 5.033 14.264C4.608 13.985 4.24 13.643 3.93 13.239C3.62 12.835 3.385 12.392 3.226 11.908C3.075 11.451 3 10.981 3 10.5L3 5.5C3 4.928 3.105 4.376 3.316 3.844ZM7.5 4C7.641 4 7.759 4.048 7.856 4.144C7.952 4.241 8 4.359 8 4.5L8 6.5C8 6.641 7.952 6.759 7.856 6.856C7.759 6.952 7.641 7 7.5 7C7.359 7 7.241 6.952 7.144 6.856C7.048 6.759 7 6.641 7 6.5L7 4.5C7 4.359 7.048 4.241 7.144 4.144C7.241 4.048 7.359 4 7.5 4ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.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=\"M3.316 3.844C3.545 3.266 3.879 2.757 4.318 2.318C4.757 1.879 5.266 1.545 5.844 1.316C6.376 1.105 6.928 1 7.5 1C8.072 1 8.624 1.105 9.156 1.316C9.734 1.545 10.243 1.879 10.682 2.318C11.121 2.757 11.455 3.266 11.684 3.844C11.895 4.376 12 4.928 12 5.5C12 5.641 11.952 5.759 11.856 5.856C11.759 5.952 11.641 6 11.5 6C11.359 6 11.241 5.952 11.144 5.856C11.048 5.759 11 5.641 11 5.5C11 5.055 10.918 4.625 10.754 4.212C10.576 3.762 10.317 3.367 9.975 3.025C9.633 2.683 9.238 2.424 8.788 2.246C8.375 2.082 7.945 2 7.5 2C7.055 2 6.625 2.082 6.212 2.246C5.762 2.424 5.367 2.683 5.025 3.025C4.683 3.367 4.424 3.762 4.246 4.212C4.082 4.625 4 5.055 4 5.5L4 10.5C4 10.874 4.059 11.239 4.176 11.595C4.3 11.971 4.482 12.316 4.723 12.631C4.964 12.945 5.25 13.21 5.582 13.427C5.895 13.633 6.232 13.784 6.594 13.881C6.727 13.916 6.828 13.994 6.897 14.114C6.921 14.155 6.939 14.197 6.95 14.24L6.95 14.482C6.949 14.486 6.948 14.489 6.947 14.493C6.911 14.626 6.834 14.728 6.714 14.797C6.595 14.866 6.468 14.882 6.335 14.847C5.87 14.722 5.436 14.528 5.033 14.264C4.608 13.985 4.24 13.643 3.93 13.239C3.62 12.835 3.385 12.392 3.226 11.908C3.075 11.451 3 10.981 3 10.5L3 5.5C3 4.928 3.105 4.376 3.316 3.844ZM7.5 4C7.641 4 7.759 4.048 7.856 4.144C7.952 4.241 8 4.359 8 4.5L8 6.5C8 6.641 7.952 6.759 7.856 6.856C7.759 6.952 7.641 7 7.5 7C7.359 7 7.241 6.952 7.144 6.856C7.048 6.759 7 6.641 7 6.5L7 4.5C7 4.359 7.048 4.241 7.144 4.144C7.241 4.048 7.359 4 7.5 4ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5L15 15.5C15 15.641 14.952 15.759 14.856 15.856C14.759 15.952 14.641 16 14.5 16L8.5 16C8.359 16 8.241 15.952 8.144 15.856C8.048 15.759 8 15.641 8 15.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.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=\"M9.156 1.316C9.734 1.545 10.243 1.879 10.682 2.318C11.121 2.757 11.455 3.266 11.684 3.844C11.895 4.376 12 4.928 12 5.5L12 6L11 6L11 5.5C11 5.055 10.918 4.625 10.754 4.212C10.576 3.762 10.317 3.367 9.975 3.025C9.633 2.683 9.238 2.424 8.788 2.246C8.375 2.082 7.945 2 7.5 2C7.055 2 6.625 2.082 6.212 2.246C5.762 2.424 5.367 2.683 5.025 3.025C4.683 3.367 4.424 3.762 4.246 4.212C4.082 4.625 4 5.055 4 5.5L4 10.5C4 10.908 4.069 11.304 4.208 11.688C4.356 12.099 4.574 12.469 4.86 12.798C5.147 13.128 5.484 13.394 5.87 13.598C6.211 13.777 6.571 13.896 6.95 13.957L6.95 14.462L6.881 14.957C6.361 14.885 5.869 14.727 5.405 14.483C4.908 14.221 4.475 13.879 4.106 13.455C3.738 13.032 3.458 12.556 3.267 12.028C3.089 11.534 3 11.025 3 10.5L3 5.5C3 4.928 3.105 4.376 3.316 3.844C3.545 3.266 3.879 2.757 4.318 2.318C4.757 1.879 5.266 1.545 5.844 1.316C6.376 1.105 6.928 1 7.5 1C8.072 1 8.624 1.105 9.156 1.316ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11L15 11L15 16L8 16L8 11L9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5ZM7 4L8 4L8 7L7 7L7 4Z\"/></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 6.048C10.585 6.048 9.707 6.412 9.06 7.059C8.413 7.707 8.05 8.585 8.05 9.5C8.05 9.713 8.07 9.926 8.109 10.136C7.402 10.463 6.95 11.171 6.95 11.95L6.95 14.6C6.95 14.724 6.962 14.849 6.985 14.971C6.595 14.926 6.214 14.831 5.844 14.684C5.266 14.455 4.757 14.121 4.318 13.682C3.879 13.243 3.545 12.734 3.316 12.156C3.105 11.624 3 11.072 3 10.5L3 5.5C3 4.928 3.105 4.376 3.316 3.844C3.545 3.266 3.879 2.757 4.318 2.318C4.757 1.879 5.266 1.545 5.844 1.316C6.376 1.105 6.928 1 7.5 1C8.072 1 8.624 1.105 9.156 1.316C9.734 1.545 10.243 1.879 10.682 2.318C11.121 2.757 11.455 3.266 11.684 3.844C11.895 4.376 12 4.928 12 5.5L12 6.085C11.834 6.06 11.667 6.048 11.5 6.048ZM8 6.5L8 4.5C8 4.224 7.776 4 7.5 4C7.224 4 7 4.224 7 4.5L7 6.5C7 6.776 7.224 7 7.5 7C7.776 7 8 6.776 8 6.5ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5Z\"/></svg>",
  "solid-soft": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M11.5 6.048C10.585 6.048 9.707 6.412 9.06 7.059C8.413 7.707 8.05 8.585 8.05 9.5C8.05 9.65 8.06 9.801 8.079 9.95L7.95 9.95C7.398 9.95 6.95 10.398 6.95 10.95L6.95 14.967C6.572 14.921 6.203 14.826 5.844 14.684C5.266 14.455 4.757 14.121 4.318 13.682C3.879 13.243 3.545 12.734 3.316 12.156C3.105 11.624 3 11.072 3 10.5L3 5.5C3 4.928 3.105 4.376 3.316 3.844C3.545 3.266 3.879 2.757 4.318 2.318C4.757 1.879 5.266 1.545 5.844 1.316C6.376 1.105 6.928 1 7.5 1C8.072 1 8.624 1.105 9.156 1.316C9.734 1.545 10.243 1.879 10.682 2.318C11.121 2.757 11.455 3.266 11.684 3.844C11.895 4.376 12 4.928 12 5.5L12 6.085C11.834 6.06 11.667 6.048 11.5 6.048ZM8 6.5L8 4.5C8 4.224 7.776 4 7.5 4C7.224 4 7 4.224 7 4.5L7 6.5C7 6.776 7.224 7 7.5 7C7.776 7 8 6.776 8 6.5ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5L15 15.5C15 15.641 14.952 15.759 14.856 15.856C14.759 15.952 14.641 16 14.5 16L8.5 16C8.359 16 8.241 15.952 8.144 15.856C8.048 15.759 8 15.641 8 15.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5Z\"/></svg>",
  "solid-sharp": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M3.316 3.844C3.545 3.266 3.879 2.757 4.318 2.318C4.757 1.879 5.266 1.545 5.844 1.316C6.376 1.105 6.928 1 7.5 1C8.072 1 8.624 1.105 9.156 1.316C9.734 1.545 10.243 1.879 10.682 2.318C11.121 2.757 11.455 3.266 11.684 3.844C11.895 4.376 12 4.928 12 5.5L12 6.085C11.834 6.06 11.667 6.048 11.5 6.048C10.585 6.048 9.707 6.412 9.06 7.059C8.413 7.707 8.05 8.585 8.05 9.5C8.05 9.65 8.06 9.801 8.079 9.95L6.95 9.95L6.95 14.967C6.572 14.921 6.203 14.826 5.844 14.684C5.266 14.455 4.757 14.121 4.318 13.682C3.879 13.243 3.545 12.734 3.316 12.156C3.105 11.624 3 11.072 3 10.5L3 5.5C3 4.928 3.105 4.376 3.316 3.844ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11L15 11L15 16L8 16L8 11L9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5ZM7 4L7 7L8 7L8 4L7 4Z\"/></svg>"
 },
 "svg_url": {
  "line-round": "https://gentleface.com/svg/line-round/16/mouse-lock.svg",
  "line-soft": "https://gentleface.com/svg/line-soft/16/mouse-lock.svg",
  "line-sharp": "https://gentleface.com/svg/line-sharp/16/mouse-lock.svg",
  "solid-round": "https://gentleface.com/svg/solid-round/16/mouse-lock.svg",
  "solid-soft": "https://gentleface.com/svg/solid-soft/16/mouse-lock.svg",
  "solid-sharp": "https://gentleface.com/svg/solid-sharp/16/mouse-lock.svg"
 },
 "png_url": {
  "line-round": {
   "16": "https://gentleface.com/png/line-round/16/mouse-lock.png",
   "32": "https://gentleface.com/png/line-round/32/mouse-lock.png",
   "48": "https://gentleface.com/png/line-round/48/mouse-lock.png"
  },
  "line-soft": {
   "16": "https://gentleface.com/png/line-soft/16/mouse-lock.png",
   "32": "https://gentleface.com/png/line-soft/32/mouse-lock.png",
   "48": "https://gentleface.com/png/line-soft/48/mouse-lock.png"
  },
  "line-sharp": {
   "16": "https://gentleface.com/png/line-sharp/16/mouse-lock.png",
   "32": "https://gentleface.com/png/line-sharp/32/mouse-lock.png",
   "48": "https://gentleface.com/png/line-sharp/48/mouse-lock.png"
  },
  "solid-round": {
   "16": "https://gentleface.com/png/solid-round/16/mouse-lock.png",
   "32": "https://gentleface.com/png/solid-round/32/mouse-lock.png",
   "48": "https://gentleface.com/png/solid-round/48/mouse-lock.png"
  },
  "solid-soft": {
   "16": "https://gentleface.com/png/solid-soft/16/mouse-lock.png",
   "32": "https://gentleface.com/png/solid-soft/32/mouse-lock.png",
   "48": "https://gentleface.com/png/solid-soft/48/mouse-lock.png"
  },
  "solid-sharp": {
   "16": "https://gentleface.com/png/solid-sharp/16/mouse-lock.png",
   "32": "https://gentleface.com/png/solid-sharp/32/mouse-lock.png",
   "48": "https://gentleface.com/png/solid-sharp/48/mouse-lock.png"
  }
 },
 "npm": {
  "react": "import { MouseLockIcon } from '@gentleface/react';",
  "svg": "@gentleface/icons/svg/line-round/16/mouse-lock.svg",
  "cdn": "https://cdn.jsdelivr.net/npm/@gentleface/icons@0.6.0/svg/line-round/16/mouse-lock.svg",
  "version": "0.6.0"
 },
 "license": "MIT",
 "author": "Alexander Kiselev"
}