Gentleface › Layout & interface › dialog
dialog icon
dialogDialog: dialog, modal, popup, pop up. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated dialog-dismiss · line-round
The button is pressed and the dialog drops off the bottom edge. A new one rises past its place and settles, its two text lines write in, and the button pops in last.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.2 s. Examples and helper.
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="M14.414 13.414C14.219 13.609 13.993 13.758 13.736 13.86C13.5 13.953 13.254 14 13 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 2L13 2C13.254 2 13.5 2.047 13.736 2.14C13.993 2.242 14.219 2.391 14.414 2.586C14.609 2.781 14.758 3.007 14.86 3.264C14.953 3.5 15 3.746 15 4L15 12C15 12.254 14.953 12.5 14.86 12.736C14.758 12.993 14.609 13.219 14.414 13.414ZM2.293 12.707C2.488 12.902 2.724 13 3 13L13 13C13.276 13 13.512 12.902 13.707 12.707C13.902 12.512 14 12.276 14 12L14 4C14 3.724 13.902 3.488 13.707 3.293C13.512 3.098 13.276 3 13 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 12C2 12.276 2.098 12.512 2.293 12.707ZM11.856 5.144C11.952 5.241 12 5.359 12 5.5C12 5.641 11.952 5.759 11.856 5.856C11.759 5.952 11.641 6 11.5 6L4.5 6C4.359 6 4.241 5.952 4.144 5.856C4.048 5.759 4 5.641 4 5.5C4 5.359 4.048 5.241 4.144 5.144C4.241 5.048 4.359 5 4.5 5L11.5 5C11.641 5 11.759 5.048 11.856 5.144ZM8.856 7.144C8.952 7.241 9 7.359 9 7.5C9 7.641 8.952 7.759 8.856 7.856C8.759 7.952 8.641 8 8.5 8L4.5 8C4.359 8 4.241 7.952 4.144 7.856C4.048 7.759 4 7.641 4 7.5C4 7.359 4.048 7.241 4.144 7.144C4.241 7.048 4.359 7 4.5 7L8.5 7C8.641 7 8.759 7.048 8.856 7.144ZM11.856 9.144C11.952 9.241 12 9.359 12 9.5L12 10.5C12 10.641 11.952 10.759 11.856 10.856C11.759 10.952 11.641 11 11.5 11L7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L11.5 9C11.641 9 11.759 9.048 11.856 9.144Z"/></svg>
// Gentleface "dialog" (line-round), MIT. https://gentleface.com/icons/dialog
import type { SVGProps } from 'react';
export function DialogIcon(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="M14.414 13.414C14.219 13.609 13.993 13.758 13.736 13.86C13.5 13.953 13.254 14 13 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 2L13 2C13.254 2 13.5 2.047 13.736 2.14C13.993 2.242 14.219 2.391 14.414 2.586C14.609 2.781 14.758 3.007 14.86 3.264C14.953 3.5 15 3.746 15 4L15 12C15 12.254 14.953 12.5 14.86 12.736C14.758 12.993 14.609 13.219 14.414 13.414ZM2.293 12.707C2.488 12.902 2.724 13 3 13L13 13C13.276 13 13.512 12.902 13.707 12.707C13.902 12.512 14 12.276 14 12L14 4C14 3.724 13.902 3.488 13.707 3.293C13.512 3.098 13.276 3 13 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 12C2 12.276 2.098 12.512 2.293 12.707ZM11.856 5.144C11.952 5.241 12 5.359 12 5.5C12 5.641 11.952 5.759 11.856 5.856C11.759 5.952 11.641 6 11.5 6L4.5 6C4.359 6 4.241 5.952 4.144 5.856C4.048 5.759 4 5.641 4 5.5C4 5.359 4.048 5.241 4.144 5.144C4.241 5.048 4.359 5 4.5 5L11.5 5C11.641 5 11.759 5.048 11.856 5.144ZM8.856 7.144C8.952 7.241 9 7.359 9 7.5C9 7.641 8.952 7.759 8.856 7.856C8.759 7.952 8.641 8 8.5 8L4.5 8C4.359 8 4.241 7.952 4.144 7.856C4.048 7.759 4 7.641 4 7.5C4 7.359 4.048 7.241 4.144 7.144C4.241 7.048 4.359 7 4.5 7L8.5 7C8.641 7 8.759 7.048 8.856 7.144ZM11.856 9.144C11.952 9.241 12 9.359 12 9.5L12 10.5C12 10.641 11.952 10.759 11.856 10.856C11.759 10.952 11.641 11 11.5 11L7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L11.5 9C11.641 9 11.759 9.048 11.856 9.144Z" />
</svg>
);
}Vue: see /icons/dialog.md
Svelte: see /icons/dialog.md
HTML img: see /icons/dialog.md
CSS: see /icons/dialog.md
Data URL: see /icons/dialog.md
Sprite: see /icons/dialog.md
SwiftUI: see /icons/dialog.md
Compose: see /icons/dialog.md
Android XML: see /icons/dialog.md
Flutter: see /icons/dialog.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 { DialogIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- dialog, modal, popup, pop up, modal window, dialog box, popup form
- Alternatives
window: a full application window (window)dropdown-menu: a popup list of actions or options (popup-menu)tooltip: a small hint bubble on hover (tooltip)snackbar: a brief message at the edge of the screen (snackbar)
- Also fits
- snackbar: a modal that needs an answer (dialog)
- window: a small window over the main one (dialog)
- Tags
- dialog, modal, popup, pop-up, overlay, lightbox, dialog box, modal window, alert dialog, confirm, ui, component
- Category
- Layout & interface
- Component name
DialogIcon- History
- added
- 20 px drawn, 24 px drawn
- released in 0.2.0
- Since
- version 0.2.0
Family 84
More layout & interface icons
app apps apps-alert apps-check apps-clock apps-gear apps-link apps-pencil apps-plus apps-search apps-sparkle apps-x cards-stacked checkbox checkbox-indeterminate checkbox-off · all layout & interface icons
For agents
Metadata: /icons/dialog.json · Markdown: /icons/dialog.md · SVG: https://gentleface.com/svg/{style}/16/dialog.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/dialog.png