gentleface

Gentleface › Communication › mail-code

mail-code icon

Mail code: html email, email api, email source. 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.179 2.166 1.225 2.073 1.277 1.984C1.28 1.978 1.284 1.972 1.288 1.966C1.371 1.828 1.47 1.702 1.586 1.586C1.707 1.465 1.839 1.362 1.984 1.277C2.073 1.225 2.166 1.179 2.264 1.14C2.5 1.047 2.746 1 3 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.834 1.179 11.927 1.225 12.016 1.277C12.029 1.285 12.042 1.293 12.056 1.301C12.185 1.381 12.304 1.476 12.414 1.586C12.535 1.707 12.638 1.839 12.723 1.984C12.775 2.073 12.821 2.166 12.86 2.264C12.953 2.5 13 2.746 13 3L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3C12 2.909 11.989 2.822 11.968 2.739L8.207 6.5C8.047 6.66 7.862 6.783 7.653 6.87C7.444 6.957 7.226 7 7 7C6.774 7 6.556 6.957 6.347 6.87C6.138 6.783 5.953 6.66 5.793 6.5L2.032 2.739C2.011 2.822 2 2.909 2 3L2 8C2 8.276 2.098 8.512 2.293 8.707C2.488 8.902 2.724 9 3 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3 10C2.746 10 2.5 9.953 2.264 9.86C2.007 9.758 1.781 9.609 1.586 9.414C1.391 9.219 1.242 8.993 1.14 8.736C1.047 8.5 1 8.254 1 8L1 3C1 2.746 1.047 2.5 1.14 2.264ZM11.261 2.032C11.178 2.011 11.091 2 11 2L3 2C2.909 2 2.822 2.011 2.739 2.032L6.5 5.793C6.638 5.931 6.805 6 7 6C7.195 6 7.362 5.931 7.5 5.793L11.261 2.032ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM10.146 9.146L8.5 10.793C8.305 10.988 8.207 11.224 8.207 11.5C8.207 11.776 8.305 12.012 8.5 12.207L10.146 13.854C10.342 14.049 10.658 14.049 10.854 13.854C11.049 13.658 11.049 13.342 10.854 13.146L9.207 11.5L10.854 9.854C11.049 9.658 11.049 9.342 10.854 9.146C10.658 8.951 10.342 8.951 10.146 9.146ZM12.854 9.146C12.658 8.951 12.342 8.951 12.146 9.146C11.951 9.342 11.951 9.658 12.146 9.854L13.793 11.5L12.146 13.146C11.951 13.342 11.951 13.658 12.146 13.854C12.342 14.049 12.658 14.049 12.854 13.854L14.5 12.207C14.695 12.012 14.793 11.776 14.793 11.5C14.793 11.224 14.695 10.988 14.5 10.793L12.854 9.146Z"/></svg>
React
// Gentleface "mail-code" (line-round), MIT. https://gentleface.com/icons/mail-code
import type { SVGProps } from 'react';

export function MailCodeIcon(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.179 2.166 1.225 2.073 1.277 1.984C1.28 1.978 1.284 1.972 1.288 1.966C1.371 1.828 1.47 1.702 1.586 1.586C1.707 1.465 1.839 1.362 1.984 1.277C2.073 1.225 2.166 1.179 2.264 1.14C2.5 1.047 2.746 1 3 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.834 1.179 11.927 1.225 12.016 1.277C12.029 1.285 12.042 1.293 12.056 1.301C12.185 1.381 12.304 1.476 12.414 1.586C12.535 1.707 12.638 1.839 12.723 1.984C12.775 2.073 12.821 2.166 12.86 2.264C12.953 2.5 13 2.746 13 3L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3C12 2.909 11.989 2.822 11.968 2.739L8.207 6.5C8.047 6.66 7.862 6.783 7.653 6.87C7.444 6.957 7.226 7 7 7C6.774 7 6.556 6.957 6.347 6.87C6.138 6.783 5.953 6.66 5.793 6.5L2.032 2.739C2.011 2.822 2 2.909 2 3L2 8C2 8.276 2.098 8.512 2.293 8.707C2.488 8.902 2.724 9 3 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3 10C2.746 10 2.5 9.953 2.264 9.86C2.007 9.758 1.781 9.609 1.586 9.414C1.391 9.219 1.242 8.993 1.14 8.736C1.047 8.5 1 8.254 1 8L1 3C1 2.746 1.047 2.5 1.14 2.264ZM11.261 2.032C11.178 2.011 11.091 2 11 2L3 2C2.909 2 2.822 2.011 2.739 2.032L6.5 5.793C6.638 5.931 6.805 6 7 6C7.195 6 7.362 5.931 7.5 5.793L11.261 2.032ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM10.146 9.146L8.5 10.793C8.305 10.988 8.207 11.224 8.207 11.5C8.207 11.776 8.305 12.012 8.5 12.207L10.146 13.854C10.342 14.049 10.658 14.049 10.854 13.854C11.049 13.658 11.049 13.342 10.854 13.146L9.207 11.5L10.854 9.854C11.049 9.658 11.049 9.342 10.854 9.146C10.658 8.951 10.342 8.951 10.146 9.146ZM12.854 9.146C12.658 8.951 12.342 8.951 12.146 9.146C11.951 9.342 11.951 9.658 12.146 9.854L13.793 11.5L12.146 13.146C11.951 13.342 11.951 13.658 12.146 13.854C12.342 14.049 12.658 14.049 12.854 13.854L14.5 12.207C14.695 12.012 14.793 11.776 14.793 11.5C14.793 11.224 14.695 10.988 14.5 10.793L12.854 9.146Z" />
    </svg>
  );
}
Vue
Vue: see /icons/mail-code.md
Svelte
Svelte: see /icons/mail-code.md
HTML img
HTML img: see /icons/mail-code.md
CSS
CSS: see /icons/mail-code.md
Data URL
Data URL: see /icons/mail-code.md
Sprite
Sprite: see /icons/mail-code.md
SwiftUI
SwiftUI: see /icons/mail-code.md
Compose
Compose: see /icons/mail-code.md
Android XML
Android XML: see /icons/mail-code.md
Flutter
Flutter: see /icons/mail-code.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.

With npm: import { MailCodeIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
html email, email api, email source
Example
Email API or HTML source of a message
Built from
mail + code
Tags
envelope, email, code
Category
Communication
Component name
MailCodeIcon
History
  • added, released in 0.4.0
Since
version 0.4.0

Family 28

More communication icons

For agents

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