gentleface

Gentleface › Home & household › door-sensor

door-sensor icon

Door sensor: contact sensor, door sensor, window sensor, open close sensor. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L6 1C6.254 1 6.5 1.047 6.736 1.14C6.993 1.242 7.219 1.391 7.414 1.586C7.609 1.781 7.758 2.007 7.86 2.264C7.953 2.5 8 2.746 8 3L8 14L8.5 14C8.641 14 8.759 14.048 8.856 14.144C8.952 14.241 9 14.359 9 14.5C9 14.641 8.952 14.759 8.856 14.856C8.759 14.952 8.641 15 8.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5L1 3C1 2.746 1.047 2.5 1.14 2.264ZM7 14L7 3C7 2.724 6.902 2.488 6.707 2.293C6.512 2.098 6.276 2 6 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 14L7 14ZM7 8C7 8.276 6.902 8.512 6.707 8.707C6.512 8.902 6.276 9 6 9C5.724 9 5.488 8.902 5.293 8.707C5.098 8.512 5 8.276 5 8C5 7.724 5.098 7.488 5.293 7.293C5.488 7.098 5.724 7 6 7C6.276 7 6.512 7.098 6.707 7.293C6.902 7.488 7 7.724 7 8ZM12.95 3.05C13.579 3.68 14.071 4.403 14.424 5.22C14.808 6.107 15 7.033 15 8C15 8.967 14.808 9.893 14.424 10.78C14.071 11.597 13.579 12.32 12.95 12.95C12.85 13.049 12.732 13.099 12.596 13.099C12.46 13.099 12.342 13.049 12.243 12.95C12.143 12.85 12.093 12.732 12.093 12.596C12.093 12.46 12.143 12.342 12.243 12.243C12.782 11.703 13.203 11.083 13.506 10.383C13.835 9.623 14 8.828 14 8C14 7.172 13.835 6.377 13.506 5.617C13.203 4.917 12.782 4.297 12.243 3.757C12.145 3.66 12.096 3.542 12.096 3.404C12.096 3.266 12.145 3.148 12.243 3.05C12.342 2.951 12.46 2.901 12.596 2.901C12.732 2.901 12.85 2.951 12.95 3.05ZM12 8C12 8.552 11.89 9.082 11.671 9.589C11.469 10.056 11.188 10.469 10.828 10.828C10.729 10.928 10.611 10.978 10.475 10.978C10.339 10.978 10.221 10.928 10.121 10.828C10.022 10.729 9.972 10.611 9.972 10.475C9.972 10.339 10.022 10.221 10.121 10.121C10.391 9.852 10.602 9.542 10.753 9.192C10.918 8.811 11 8.414 11 8C11 7.586 10.918 7.189 10.753 6.808C10.602 6.458 10.391 6.148 10.121 5.879C10.022 5.779 9.972 5.661 9.972 5.525C9.972 5.389 10.022 5.271 10.121 5.172C10.219 5.074 10.337 5.025 10.475 5.025C10.613 5.025 10.731 5.074 10.828 5.172C11.188 5.531 11.469 5.944 11.671 6.411C11.89 6.918 12 7.448 12 8Z"/></svg>
React
// Gentleface "door-sensor" (line-round), MIT. https://gentleface.com/icons/door-sensor
import type { SVGProps } from 'react';

export function DoorSensorIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L6 1C6.254 1 6.5 1.047 6.736 1.14C6.993 1.242 7.219 1.391 7.414 1.586C7.609 1.781 7.758 2.007 7.86 2.264C7.953 2.5 8 2.746 8 3L8 14L8.5 14C8.641 14 8.759 14.048 8.856 14.144C8.952 14.241 9 14.359 9 14.5C9 14.641 8.952 14.759 8.856 14.856C8.759 14.952 8.641 15 8.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5L1 3C1 2.746 1.047 2.5 1.14 2.264ZM7 14L7 3C7 2.724 6.902 2.488 6.707 2.293C6.512 2.098 6.276 2 6 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 14L7 14ZM7 8C7 8.276 6.902 8.512 6.707 8.707C6.512 8.902 6.276 9 6 9C5.724 9 5.488 8.902 5.293 8.707C5.098 8.512 5 8.276 5 8C5 7.724 5.098 7.488 5.293 7.293C5.488 7.098 5.724 7 6 7C6.276 7 6.512 7.098 6.707 7.293C6.902 7.488 7 7.724 7 8ZM12.95 3.05C13.579 3.68 14.071 4.403 14.424 5.22C14.808 6.107 15 7.033 15 8C15 8.967 14.808 9.893 14.424 10.78C14.071 11.597 13.579 12.32 12.95 12.95C12.85 13.049 12.732 13.099 12.596 13.099C12.46 13.099 12.342 13.049 12.243 12.95C12.143 12.85 12.093 12.732 12.093 12.596C12.093 12.46 12.143 12.342 12.243 12.243C12.782 11.703 13.203 11.083 13.506 10.383C13.835 9.623 14 8.828 14 8C14 7.172 13.835 6.377 13.506 5.617C13.203 4.917 12.782 4.297 12.243 3.757C12.145 3.66 12.096 3.542 12.096 3.404C12.096 3.266 12.145 3.148 12.243 3.05C12.342 2.951 12.46 2.901 12.596 2.901C12.732 2.901 12.85 2.951 12.95 3.05ZM12 8C12 8.552 11.89 9.082 11.671 9.589C11.469 10.056 11.188 10.469 10.828 10.828C10.729 10.928 10.611 10.978 10.475 10.978C10.339 10.978 10.221 10.928 10.121 10.828C10.022 10.729 9.972 10.611 9.972 10.475C9.972 10.339 10.022 10.221 10.121 10.121C10.391 9.852 10.602 9.542 10.753 9.192C10.918 8.811 11 8.414 11 8C11 7.586 10.918 7.189 10.753 6.808C10.602 6.458 10.391 6.148 10.121 5.879C10.022 5.779 9.972 5.661 9.972 5.525C9.972 5.389 10.022 5.271 10.121 5.172C10.219 5.074 10.337 5.025 10.475 5.025C10.613 5.025 10.731 5.074 10.828 5.172C11.188 5.531 11.469 5.944 11.671 6.411C11.89 6.918 12 7.448 12 8Z" />
    </svg>
  );
}
Vue
Vue: see /icons/door-sensor.md
Svelte
Svelte: see /icons/door-sensor.md
HTML img
HTML img: see /icons/door-sensor.md
CSS
CSS: see /icons/door-sensor.md
Data URL
Data URL: see /icons/door-sensor.md
Sprite
Sprite: see /icons/door-sensor.md
SwiftUI
SwiftUI: see /icons/door-sensor.md
Compose
Compose: see /icons/door-sensor.md
Android XML
Android XML: see /icons/door-sensor.md
Flutter
Flutter: see /icons/door-sensor.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
contact sensor, door sensor, window sensor, open close sensor, entry sensor
Alternatives
  • motion-sensor: movement or occupancy in a room
Also fits
  • motion sensor: an open/close contact sensor
Tags
door, sensor, contact-sensor, door-sensor, window-sensor, smart-home, matter, zigbee, open-close, security
Category
Home & household
Component name
DoorSensorIcon
History
  • 20 px drawn, 24 px drawn, added

Family 13

More home & household icons

For agents

Metadata: /icons/door-sensor.json · Markdown: /icons/door-sensor.md · SVG: https://gentleface.com/svg/{style}/16/door-sensor.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/door-sensor.png