Gentleface › Files & folders › file-type
file-type icon
file-typeFile type: font file, typeface file, ttf file, font preview. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 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 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.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.385ZM4.293 2.293C4.098 2.488 4 2.724 4 3L4 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 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.724 2 4.488 2.098 4.293 2.293ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM5.088 7.79C5.151 7.629 5.244 7.488 5.366 7.366C5.488 7.244 5.629 7.151 5.79 7.088C5.938 7.029 6.091 7 6.25 7L8.75 7C8.909 7 9.062 7.029 9.21 7.088C9.371 7.151 9.512 7.244 9.634 7.366C9.756 7.488 9.849 7.629 9.912 7.79C9.971 7.938 10 8.091 10 8.25L10 8.5C10 8.641 9.952 8.759 9.856 8.856C9.759 8.952 9.641 9 9.5 9C9.359 9 9.241 8.952 9.144 8.856C9.048 8.759 9 8.641 9 8.5L9 8.25C9 8.181 8.976 8.122 8.927 8.073C8.878 8.024 8.819 8 8.75 8L8 8L8 12L8.5 12C8.641 12 8.759 12.048 8.856 12.144C8.952 12.241 9 12.359 9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5C6 12.359 6.048 12.241 6.144 12.144C6.241 12.048 6.359 12 6.5 12L7 12L7 8L6.25 8C6.181 8 6.122 8.024 6.073 8.073C6.024 8.122 6 8.181 6 8.25L6 8.5C6 8.641 5.952 8.759 5.856 8.856C5.759 8.952 5.641 9 5.5 9C5.359 9 5.241 8.952 5.144 8.856C5.048 8.759 5 8.641 5 8.5L5 8.25C5 8.091 5.029 7.938 5.088 7.79Z"/></svg>
// Gentleface "file-type" (line-round), MIT. https://gentleface.com/icons/file-type
import type { SVGProps } from 'react';
export function FileTypeIcon(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="M12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 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 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.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.385ZM4.293 2.293C4.098 2.488 4 2.724 4 3L4 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 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.724 2 4.488 2.098 4.293 2.293ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM5.088 7.79C5.151 7.629 5.244 7.488 5.366 7.366C5.488 7.244 5.629 7.151 5.79 7.088C5.938 7.029 6.091 7 6.25 7L8.75 7C8.909 7 9.062 7.029 9.21 7.088C9.371 7.151 9.512 7.244 9.634 7.366C9.756 7.488 9.849 7.629 9.912 7.79C9.971 7.938 10 8.091 10 8.25L10 8.5C10 8.641 9.952 8.759 9.856 8.856C9.759 8.952 9.641 9 9.5 9C9.359 9 9.241 8.952 9.144 8.856C9.048 8.759 9 8.641 9 8.5L9 8.25C9 8.181 8.976 8.122 8.927 8.073C8.878 8.024 8.819 8 8.75 8L8 8L8 12L8.5 12C8.641 12 8.759 12.048 8.856 12.144C8.952 12.241 9 12.359 9 12.5C9 12.641 8.952 12.759 8.856 12.856C8.759 12.952 8.641 13 8.5 13L6.5 13C6.359 13 6.241 12.952 6.144 12.856C6.048 12.759 6 12.641 6 12.5C6 12.359 6.048 12.241 6.144 12.144C6.241 12.048 6.359 12 6.5 12L7 12L7 8L6.25 8C6.181 8 6.122 8.024 6.073 8.073C6.024 8.122 6 8.181 6 8.25L6 8.5C6 8.641 5.952 8.759 5.856 8.856C5.759 8.952 5.641 9 5.5 9C5.359 9 5.241 8.952 5.144 8.856C5.048 8.759 5 8.641 5 8.5L5 8.25C5 8.091 5.029 7.938 5.088 7.79Z" />
</svg>
);
}Vue: see /icons/file-type.md
Svelte: see /icons/file-type.md
HTML img: see /icons/file-type.md
CSS: see /icons/file-type.md
Data URL: see /icons/file-type.md
Sprite: see /icons/file-type.md
SwiftUI: see /icons/file-type.md
Compose: see /icons/file-type.md
Android XML: see /icons/file-type.md
Flutter: see /icons/file-type.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.
With npm: import { FileTypeIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- font file, typeface file, ttf file, font preview
- Alternatives
type: text, fonts or typography without a file (typography)
- Tags
- document, font, typeface, type, ttf, otf, woff, typography, letter, text, file
- Category
- Files & folders
- Component name
FileTypeIcon- History
- released in 0.2.0
- added
- Since
- version 0.2.0
Family 52
More files & folders icons
archive archive-arrow-up archive-clock archive-lock archive-search book book-a book-arrow-down book-bookmark book-check book-clock book-headphones book-open book-plus book-search book-x · all files & folders icons
For agents
Metadata: /icons/file-type.json · Markdown: /icons/file-type.md · SVG: https://gentleface.com/svg/{style}/16/file-type.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/file-type.png