Gentleface › Food & drink › pumpkin
pumpkin icon
pumpkinPumpkin: pumpkin, autumn harvest. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated, switches to jack-o-lantern pumpkin-carve · line-round
The grooves draw back and a knife cuts the eyes and the fanged mouth out of the pumpkin, one after another. Candlelight flickers in the holes; then the holes close and the grooves come back on the plain pumpkin.
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 switch on click, run 0.25 s to 2.3 s and hold, then 2.45 s to 2.95 s to come back. 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="M9.754 1C9.86 1 9.963 1.038 10.044 1.106C10.136 1.183 10.192 1.293 10.203 1.412C10.213 1.531 10.175 1.649 10.098 1.74C9.923 1.947 9.766 2.18 9.625 2.437C9.208 3.201 9 4.056 9 5C9.062 5 9.127 4.979 9.197 4.936C9.261 4.897 9.366 4.812 9.512 4.681C9.741 4.477 9.932 4.33 10.086 4.243C10.369 4.081 10.674 4 11 4C11.583 4 12.132 4.155 12.648 4.466C13.13 4.756 13.551 5.162 13.912 5.685C14.259 6.189 14.527 6.768 14.715 7.42C14.905 8.081 15 8.775 15 9.5C15 10.261 14.804 10.99 14.412 11.686C14.044 12.343 13.528 12.923 12.866 13.429C12.216 13.925 11.477 14.308 10.648 14.581C9.796 14.86 8.914 15 8 15C7.086 15 6.204 14.86 5.352 14.581C4.523 14.308 3.784 13.925 3.134 13.429C2.472 12.923 1.956 12.343 1.588 11.686C1.196 10.99 1 10.261 1 9.5C1 8.775 1.095 8.081 1.285 7.42C1.473 6.768 1.741 6.189 2.088 5.685C2.449 5.162 2.87 4.756 3.352 4.466C3.868 4.155 4.417 4 5 4C5.326 4 5.631 4.081 5.914 4.243C6.068 4.33 6.259 4.477 6.488 4.681C6.634 4.812 6.739 4.897 6.803 4.936C6.873 4.979 6.938 5 7 5C7 4.058 7.146 3.267 7.438 2.625C7.752 1.934 8.238 1.41 8.896 1.054C8.962 1.019 9.035 1 9.11 1L9.754 1ZM13.541 11.196C13.847 10.652 14 10.086 14 9.5C14 8.868 13.918 8.267 13.754 7.697C13.596 7.149 13.374 6.667 13.088 6.253C12.81 5.849 12.491 5.539 12.133 5.323C11.834 5.143 11.521 5.038 11.194 5.009C11.731 6.504 12 8.001 12 9.5C12 10.731 11.795 11.961 11.386 13.189C11.696 13.027 11.987 12.841 12.259 12.634C12.812 12.212 13.239 11.733 13.541 11.196ZM2.912 6.253C2.626 6.667 2.404 7.149 2.246 7.697C2.082 8.267 2 8.868 2 9.5C2 10.086 2.153 10.652 2.459 11.196C2.761 11.733 3.188 12.212 3.741 12.634C4.013 12.841 4.304 13.027 4.614 13.189C4.205 11.961 4 10.731 4 9.5C4 8.001 4.269 6.504 4.806 5.009C4.479 5.038 4.166 5.143 3.867 5.323C3.509 5.539 3.19 5.849 2.912 6.253ZM6.283 5.79C6.166 5.719 6.012 5.598 5.82 5.426C5.794 5.402 5.768 5.38 5.743 5.358C5.248 6.741 5 8.121 5 9.5C5 10.896 5.29 12.294 5.87 13.695C6.557 13.898 7.267 14 8 14C8.733 14 9.443 13.898 10.13 13.695C10.71 12.294 11 10.896 11 9.5C11 8.121 10.752 6.741 10.257 5.358C10.232 5.38 10.206 5.402 10.18 5.426C9.988 5.598 9.834 5.719 9.717 5.79C9.488 5.93 9.249 6 9 6L7 6C6.751 6 6.512 5.93 6.283 5.79Z"/></svg>
// Gentleface "pumpkin" (line-round), MIT. https://gentleface.com/icons/pumpkin
import type { SVGProps } from 'react';
export function PumpkinIcon(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="M9.754 1C9.86 1 9.963 1.038 10.044 1.106C10.136 1.183 10.192 1.293 10.203 1.412C10.213 1.531 10.175 1.649 10.098 1.74C9.923 1.947 9.766 2.18 9.625 2.437C9.208 3.201 9 4.056 9 5C9.062 5 9.127 4.979 9.197 4.936C9.261 4.897 9.366 4.812 9.512 4.681C9.741 4.477 9.932 4.33 10.086 4.243C10.369 4.081 10.674 4 11 4C11.583 4 12.132 4.155 12.648 4.466C13.13 4.756 13.551 5.162 13.912 5.685C14.259 6.189 14.527 6.768 14.715 7.42C14.905 8.081 15 8.775 15 9.5C15 10.261 14.804 10.99 14.412 11.686C14.044 12.343 13.528 12.923 12.866 13.429C12.216 13.925 11.477 14.308 10.648 14.581C9.796 14.86 8.914 15 8 15C7.086 15 6.204 14.86 5.352 14.581C4.523 14.308 3.784 13.925 3.134 13.429C2.472 12.923 1.956 12.343 1.588 11.686C1.196 10.99 1 10.261 1 9.5C1 8.775 1.095 8.081 1.285 7.42C1.473 6.768 1.741 6.189 2.088 5.685C2.449 5.162 2.87 4.756 3.352 4.466C3.868 4.155 4.417 4 5 4C5.326 4 5.631 4.081 5.914 4.243C6.068 4.33 6.259 4.477 6.488 4.681C6.634 4.812 6.739 4.897 6.803 4.936C6.873 4.979 6.938 5 7 5C7 4.058 7.146 3.267 7.438 2.625C7.752 1.934 8.238 1.41 8.896 1.054C8.962 1.019 9.035 1 9.11 1L9.754 1ZM13.541 11.196C13.847 10.652 14 10.086 14 9.5C14 8.868 13.918 8.267 13.754 7.697C13.596 7.149 13.374 6.667 13.088 6.253C12.81 5.849 12.491 5.539 12.133 5.323C11.834 5.143 11.521 5.038 11.194 5.009C11.731 6.504 12 8.001 12 9.5C12 10.731 11.795 11.961 11.386 13.189C11.696 13.027 11.987 12.841 12.259 12.634C12.812 12.212 13.239 11.733 13.541 11.196ZM2.912 6.253C2.626 6.667 2.404 7.149 2.246 7.697C2.082 8.267 2 8.868 2 9.5C2 10.086 2.153 10.652 2.459 11.196C2.761 11.733 3.188 12.212 3.741 12.634C4.013 12.841 4.304 13.027 4.614 13.189C4.205 11.961 4 10.731 4 9.5C4 8.001 4.269 6.504 4.806 5.009C4.479 5.038 4.166 5.143 3.867 5.323C3.509 5.539 3.19 5.849 2.912 6.253ZM6.283 5.79C6.166 5.719 6.012 5.598 5.82 5.426C5.794 5.402 5.768 5.38 5.743 5.358C5.248 6.741 5 8.121 5 9.5C5 10.896 5.29 12.294 5.87 13.695C6.557 13.898 7.267 14 8 14C8.733 14 9.443 13.898 10.13 13.695C10.71 12.294 11 10.896 11 9.5C11 8.121 10.752 6.741 10.257 5.358C10.232 5.38 10.206 5.402 10.18 5.426C9.988 5.598 9.834 5.719 9.717 5.79C9.488 5.93 9.249 6 9 6L7 6C6.751 6 6.512 5.93 6.283 5.79Z" />
</svg>
);
}Vue: see /icons/pumpkin.md
Svelte: see /icons/pumpkin.md
HTML img: see /icons/pumpkin.md
CSS: see /icons/pumpkin.md
Data URL: see /icons/pumpkin.md
Sprite: see /icons/pumpkin.md
SwiftUI: see /icons/pumpkin.md
Compose: see /icons/pumpkin.md
Android XML: see /icons/pumpkin.md
Flutter: see /icons/pumpkin.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 { PumpkinIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- pumpkin, autumn harvest
- Tags
- pumpkin, squash, gourd, harvest, autumn, fall, thanksgiving, vegetable, food
- Category
- Food & drink
- Component name
PumpkinIcon- History
- 20 px drawn, 24 px drawn, added, released in 0.5.0
- Since
- version 0.5.0
Family 1
More food & drink icons
amphora apple apron avocado banana barrel bean bean-off beef beef-off beer bottle bottle-off bowl bowl-chopsticks bread · all food & drink icons
For agents
Metadata: /icons/pumpkin.json · Markdown: /icons/pumpkin.md · SVG: https://gentleface.com/svg/{style}/16/pumpkin.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/pumpkin.png