gentleface

Gentleface › Files & folders › file-off

file-off icon

File off: file unavailable, no file, file not available. 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="M15.003 14.5C15.003 14.636 14.953 14.754 14.854 14.854C14.754 14.953 14.636 15.003 14.5 15.003C14.364 15.003 14.246 14.953 14.146 14.854L12.904 13.611C12.891 13.653 12.876 13.695 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 4.5C3 4.359 3.048 4.241 3.144 4.144C3.197 4.092 3.256 4.053 3.322 4.03L1.146 1.854C1.047 1.754 0.997 1.636 0.997 1.5C0.997 1.364 1.047 1.246 1.146 1.146C1.246 1.047 1.364 0.997 1.5 0.997C1.636 0.997 1.754 1.047 1.854 1.146L14.854 14.146C14.953 14.246 15.003 14.364 15.003 14.5ZM12 12.707L4 4.707L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 12.707ZM8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 9.5C13 9.641 12.952 9.759 12.856 9.856C12.759 9.952 12.641 10 12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.865 2 4.735 2.026 4.611 2.079C4.484 2.133 4.356 2.133 4.228 2.082C4.1 2.03 4.009 1.94 3.956 1.813C3.901 1.683 3.899 1.555 3.95 1.429C4.001 1.303 4.092 1.213 4.222 1.158C4.47 1.053 4.73 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707Z"/></svg>
React
// Gentleface "file-off" (line-round), MIT. https://gentleface.com/icons/file-off
import type { SVGProps } from 'react';

export function FileOffIcon(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="M15.003 14.5C15.003 14.636 14.953 14.754 14.854 14.854C14.754 14.953 14.636 15.003 14.5 15.003C14.364 15.003 14.246 14.953 14.146 14.854L12.904 13.611C12.891 13.653 12.876 13.695 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 4.5C3 4.359 3.048 4.241 3.144 4.144C3.197 4.092 3.256 4.053 3.322 4.03L1.146 1.854C1.047 1.754 0.997 1.636 0.997 1.5C0.997 1.364 1.047 1.246 1.146 1.146C1.246 1.047 1.364 0.997 1.5 0.997C1.636 0.997 1.754 1.047 1.854 1.146L14.854 14.146C14.953 14.246 15.003 14.364 15.003 14.5ZM12 12.707L4 4.707L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 12.707ZM8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 9.5C13 9.641 12.952 9.759 12.856 9.856C12.759 9.952 12.641 10 12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.865 2 4.735 2.026 4.611 2.079C4.484 2.133 4.356 2.133 4.228 2.082C4.1 2.03 4.009 1.94 3.956 1.813C3.901 1.683 3.899 1.555 3.95 1.429C4.001 1.303 4.092 1.213 4.222 1.158C4.47 1.053 4.73 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707Z" />
    </svg>
  );
}
Vue
Vue: see /icons/file-off.md
Svelte
Svelte: see /icons/file-off.md
HTML img
HTML img: see /icons/file-off.md
CSS
CSS: see /icons/file-off.md
Data URL
Data URL: see /icons/file-off.md
Sprite
Sprite: see /icons/file-off.md
SwiftUI
SwiftUI: see /icons/file-off.md
Compose
Compose: see /icons/file-off.md
Android XML
Android XML: see /icons/file-off.md
Flutter
Flutter: see /icons/file-off.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
file unavailable, no file, file not available
Example
Attachment no longer available
Alternatives
  • file-cloud: online-only: available after download (online-only-file)
  • file-question: an unknown or missing file (file-not-found)
Don’t confuse with
  • file-x: × deletes or removes; the slash means unavailable
Also fits
  • unknown file: a known file that is unavailable (file-unavailable)
Not for
  • delete file (use file-x): the slash means unavailable, not deleted
Built from
file + slash
Tags
document, page, sheet, slash
Category
Files & folders
Component name
FileOffIcon
History
  • added

Family 42

More files & folders icons

For agents

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

Feedback