Gentleface › Layout & interface › drag-drop
drag-drop icon
drag-dropDrag drop: drag and drop, drop zone, drag drop, drop area. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated drag-drop-grab · line-round
The pointer carries the item back to its old place, where it covers the dashes. It presses to grab the item and drags it out again, the item lagging behind, and the dashes of the empty place come back one after the other.
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 1.95 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="M1.144 1.144C1.241 1.048 1.359 1 1.5 1L2.5 1C2.641 1 2.759 1.048 2.856 1.144C2.952 1.241 3 1.359 3 1.5C3 1.641 2.952 1.759 2.856 1.856C2.759 1.952 2.641 2 2.5 2L2 2L2 2.5C2 2.641 1.952 2.759 1.856 2.856C1.759 2.952 1.641 3 1.5 3C1.359 3 1.241 2.952 1.144 2.856C1.048 2.759 1 2.641 1 2.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L5.5 1ZM7.144 1.856C7.048 1.759 7 1.641 7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1L8.5 1C8.641 1 8.759 1.048 8.856 1.144C8.952 1.241 9 1.359 9 1.5C9 1.641 8.952 1.759 8.856 1.856C8.759 1.952 8.641 2 8.5 2L7.5 2C7.359 2 7.241 1.952 7.144 1.856ZM4 3L11 3C11.276 3 11.512 3.098 11.707 3.293C11.902 3.488 12 3.724 12 4L12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7C11.359 7 11.241 6.952 11.144 6.856C11.048 6.759 11 6.641 11 6.5L11 4L4 4L4 11L6.5 11C6.641 11 6.759 11.048 6.856 11.144C6.952 11.241 7 11.359 7 11.5C7 11.641 6.952 11.759 6.856 11.856C6.759 11.952 6.641 12 6.5 12L4 12C3.724 12 3.488 11.902 3.293 11.707C3.098 11.512 3 11.276 3 11L3 4C3 3.724 3.098 3.488 3.293 3.293C3.488 3.098 3.724 3 4 3ZM2 5.5C2 5.641 1.952 5.759 1.856 5.856C1.759 5.952 1.641 6 1.5 6C1.359 6 1.241 5.952 1.144 5.856C1.048 5.759 1 5.641 1 5.5L1 4.5C1 4.359 1.048 4.241 1.144 4.144C1.241 4.048 1.359 4 1.5 4C1.641 4 1.759 4.048 1.856 4.144C1.952 4.241 2 4.359 2 4.5L2 5.5ZM14.856 11.856C14.759 11.952 14.641 12 14.5 12L12.5 12C12.246 12 12.002 12.049 11.767 12.146C11.533 12.243 11.326 12.381 11.146 12.561L8.854 14.854C8.756 14.951 8.638 15 8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 7.5C8 7.399 8.028 7.307 8.084 7.223C8.162 7.105 8.268 7.033 8.401 7.007C8.535 6.98 8.66 7.006 8.777 7.084L14.777 11.084C14.926 11.183 15 11.322 15 11.5C15 11.641 14.952 11.759 14.856 11.856ZM1.144 7.144C1.241 7.048 1.359 7 1.5 7C1.641 7 1.759 7.048 1.856 7.144C1.952 7.241 2 7.359 2 7.5L2 8.5C2 8.641 1.952 8.759 1.856 8.856C1.759 8.952 1.641 9 1.5 9C1.359 9 1.241 8.952 1.144 8.856C1.048 8.759 1 8.641 1 8.5L1 7.5C1 7.359 1.048 7.241 1.144 7.144ZM12.5 11L12.849 11L9 8.434L9 13.293L10.439 11.854C10.713 11.58 11.028 11.37 11.385 11.222C11.742 11.074 12.114 11 12.5 11Z"/></svg>
// Gentleface "drag-drop" (line-round), MIT. https://gentleface.com/icons/drag-drop
import type { SVGProps } from 'react';
export function DragDropIcon(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.144 1.144C1.241 1.048 1.359 1 1.5 1L2.5 1C2.641 1 2.759 1.048 2.856 1.144C2.952 1.241 3 1.359 3 1.5C3 1.641 2.952 1.759 2.856 1.856C2.759 1.952 2.641 2 2.5 2L2 2L2 2.5C2 2.641 1.952 2.759 1.856 2.856C1.759 2.952 1.641 3 1.5 3C1.359 3 1.241 2.952 1.144 2.856C1.048 2.759 1 2.641 1 2.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L5.5 1ZM7.144 1.856C7.048 1.759 7 1.641 7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1L8.5 1C8.641 1 8.759 1.048 8.856 1.144C8.952 1.241 9 1.359 9 1.5C9 1.641 8.952 1.759 8.856 1.856C8.759 1.952 8.641 2 8.5 2L7.5 2C7.359 2 7.241 1.952 7.144 1.856ZM4 3L11 3C11.276 3 11.512 3.098 11.707 3.293C11.902 3.488 12 3.724 12 4L12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7C11.359 7 11.241 6.952 11.144 6.856C11.048 6.759 11 6.641 11 6.5L11 4L4 4L4 11L6.5 11C6.641 11 6.759 11.048 6.856 11.144C6.952 11.241 7 11.359 7 11.5C7 11.641 6.952 11.759 6.856 11.856C6.759 11.952 6.641 12 6.5 12L4 12C3.724 12 3.488 11.902 3.293 11.707C3.098 11.512 3 11.276 3 11L3 4C3 3.724 3.098 3.488 3.293 3.293C3.488 3.098 3.724 3 4 3ZM2 5.5C2 5.641 1.952 5.759 1.856 5.856C1.759 5.952 1.641 6 1.5 6C1.359 6 1.241 5.952 1.144 5.856C1.048 5.759 1 5.641 1 5.5L1 4.5C1 4.359 1.048 4.241 1.144 4.144C1.241 4.048 1.359 4 1.5 4C1.641 4 1.759 4.048 1.856 4.144C1.952 4.241 2 4.359 2 4.5L2 5.5ZM14.856 11.856C14.759 11.952 14.641 12 14.5 12L12.5 12C12.246 12 12.002 12.049 11.767 12.146C11.533 12.243 11.326 12.381 11.146 12.561L8.854 14.854C8.756 14.951 8.638 15 8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 7.5C8 7.399 8.028 7.307 8.084 7.223C8.162 7.105 8.268 7.033 8.401 7.007C8.535 6.98 8.66 7.006 8.777 7.084L14.777 11.084C14.926 11.183 15 11.322 15 11.5C15 11.641 14.952 11.759 14.856 11.856ZM1.144 7.144C1.241 7.048 1.359 7 1.5 7C1.641 7 1.759 7.048 1.856 7.144C1.952 7.241 2 7.359 2 7.5L2 8.5C2 8.641 1.952 8.759 1.856 8.856C1.759 8.952 1.641 9 1.5 9C1.359 9 1.241 8.952 1.144 8.856C1.048 8.759 1 8.641 1 8.5L1 7.5C1 7.359 1.048 7.241 1.144 7.144ZM12.5 11L12.849 11L9 8.434L9 13.293L10.439 11.854C10.713 11.58 11.028 11.37 11.385 11.222C11.742 11.074 12.114 11 12.5 11Z" />
</svg>
);
}Vue: see /icons/drag-drop.md
Svelte: see /icons/drag-drop.md
HTML img: see /icons/drag-drop.md
CSS: see /icons/drag-drop.md
Data URL: see /icons/drag-drop.md
Sprite: see /icons/drag-drop.md
SwiftUI: see /icons/drag-drop.md
Compose: see /icons/drag-drop.md
Android XML: see /icons/drag-drop.md
Flutter: see /icons/drag-drop.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 { DragDropIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- drag and drop, drop zone, drag drop, drop area
- Alternatives
move: drag an object around a canvas (move)grip-vertical: the handle you grab to reorder a row (drag-handle)upload: a plain upload button (upload)
- Also fits
- move: drag and drop as a feature or a drop target (drag-and-drop)
- drop: drag and drop, or a drop zone
- Tags
- drag, drop, drag-and-drop, drop-zone, move, pointer, cursor, item, reorder, upload-area
- Category
- Layout & interface
- Component name
DragDropIcon- History
- added
- released in 0.1.0
- changed in 0.2.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
More layout & interface icons
accordion app apps apps-alert apps-check apps-clock apps-gear apps-link apps-pencil apps-plus apps-search apps-sparkle apps-x breadcrumb breadcrumb-chevrons browser · all layout & interface icons
For agents
Metadata: /icons/drag-drop.json · Markdown: /icons/drag-drop.md · SVG: https://gentleface.com/svg/{style}/16/drag-drop.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/drag-drop.png