gentleface

Gentleface › Layout & interface › table-lock

table-lock icon

Table lock: locked table, lock cells, protect sheet, protect range. 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="M8 9.5C8 9.641 7.952 9.759 7.856 9.856C7.816 9.895 7.773 9.927 7.726 9.95L6.95 9.95L6.95 10L2 10L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 5.5C14 5.641 13.952 5.759 13.856 5.856C13.76 5.952 13.641 6 13.5 6L13.499 6L8 6L8 8.5C8 8.641 7.952 8.759 7.856 8.856C7.759 8.952 7.641 9 7.5 9C7.641 9 7.759 9.048 7.856 9.144C7.952 9.241 8 9.359 8 9.5ZM7 5L7 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 5L7 5ZM13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L8 3L8 5L13 5L13 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>
React
// Gentleface "table-lock" (line-round), MIT. https://gentleface.com/icons/table-lock
import type { SVGProps } from 'react';

export function TableLockIcon(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="M8 9.5C8 9.641 7.952 9.759 7.856 9.856C7.816 9.895 7.773 9.927 7.726 9.95L6.95 9.95L6.95 10L2 10L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 5.5C14 5.641 13.952 5.759 13.856 5.856C13.76 5.952 13.641 6 13.5 6L13.499 6L8 6L8 8.5C8 8.641 7.952 8.759 7.856 8.856C7.759 8.952 7.641 9 7.5 9C7.641 9 7.759 9.048 7.856 9.144C7.952 9.241 8 9.359 8 9.5ZM7 5L7 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 5L7 5ZM13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L8 3L8 5L13 5L13 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>
  );
}
Vue
Vue: see /icons/table-lock.md
Svelte
Svelte: see /icons/table-lock.md
HTML img
HTML img: see /icons/table-lock.md
CSS
CSS: see /icons/table-lock.md
Data URL
Data URL: see /icons/table-lock.md
Sprite
Sprite: see /icons/table-lock.md
SwiftUI
SwiftUI: see /icons/table-lock.md
Compose
Compose: see /icons/table-lock.md
Android XML
Android XML: see /icons/table-lock.md
Flutter
Flutter: see /icons/table-lock.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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
locked table, lock cells, protect sheet, protect range, protected range
Example
Lock cells against edits
Built from
table + lock
Tags
table, grid, spreadsheet, cells, rows, columns, data, sheet, lock
Category
Layout & interface
Component name
TableLockIcon
History
  • added

Family 33

More layout & interface icons

For agents

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

Feedback