gentleface

Gentleface › Games & sports › golf

golf icon

Golf: golf, golf course, mini golf. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated golf-hole-in · line-round

A ball drops in from the right, bounces twice on the green and rolls into the flagstick. It falls into the hole, the rim ripples out, and the knock sets the pole and pennant shaking.

Download SVG

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.3 s to 2.5 s. Examples and helper.

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="M6.22 3.015C6.39 2.684 6.632 2.421 6.949 2.226C7.265 2.03 7.609 1.931 7.98 1.927C8.302 1.924 8.607 1.994 8.894 2.138L12.724 4.053C12.847 4.115 12.931 4.211 12.974 4.342C13.018 4.473 13.009 4.6 12.947 4.724C12.898 4.823 12.823 4.898 12.724 4.947L7 7.809L7 12.007C7.045 12.008 7.089 12.009 7.133 12.011C8.012 12.043 8.784 12.141 9.45 12.308C9.966 12.437 10.354 12.601 10.612 12.8C10.871 12.998 11 13.232 11 13.5C11 13.768 10.871 14.002 10.612 14.2C10.354 14.399 9.966 14.563 9.45 14.692C8.629 14.897 7.646 15 6.5 15C5.354 15 4.371 14.897 3.55 14.692C3.034 14.563 2.646 14.399 2.388 14.2C2.129 14.002 2 13.768 2 13.5C2 13.232 2.129 12.998 2.388 12.8C2.646 12.601 3.034 12.437 3.55 12.308C4.216 12.141 4.988 12.043 5.867 12.011C5.911 12.009 5.955 12.008 6 12.007L6 3.927C6 3.605 6.073 3.301 6.22 3.015ZM8.447 3.033C8.303 2.961 8.151 2.926 7.99 2.927C7.804 2.929 7.632 2.979 7.474 3.076C7.316 3.174 7.195 3.306 7.11 3.471C7.037 3.614 7 3.766 7 3.927L7 6.691L11.382 4.5L8.447 3.033ZM3.793 13.278C3.517 13.347 3.301 13.421 3.145 13.5C3.301 13.579 3.517 13.653 3.793 13.722C4.534 13.907 5.436 14 6.5 14C7.564 14 8.466 13.907 9.207 13.722C9.483 13.653 9.699 13.579 9.855 13.5C9.699 13.421 9.483 13.347 9.207 13.278C8.613 13.13 7.916 13.041 7.116 13.011C6.917 13.004 6.712 13 6.5 13C6.288 13 6.083 13.004 5.884 13.011C5.084 13.041 4.387 13.13 3.793 13.278Z"/></svg>
React
// Gentleface "golf" (line-round), MIT. https://gentleface.com/icons/golf
import type { SVGProps } from 'react';

export function GolfIcon(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="M6.22 3.015C6.39 2.684 6.632 2.421 6.949 2.226C7.265 2.03 7.609 1.931 7.98 1.927C8.302 1.924 8.607 1.994 8.894 2.138L12.724 4.053C12.847 4.115 12.931 4.211 12.974 4.342C13.018 4.473 13.009 4.6 12.947 4.724C12.898 4.823 12.823 4.898 12.724 4.947L7 7.809L7 12.007C7.045 12.008 7.089 12.009 7.133 12.011C8.012 12.043 8.784 12.141 9.45 12.308C9.966 12.437 10.354 12.601 10.612 12.8C10.871 12.998 11 13.232 11 13.5C11 13.768 10.871 14.002 10.612 14.2C10.354 14.399 9.966 14.563 9.45 14.692C8.629 14.897 7.646 15 6.5 15C5.354 15 4.371 14.897 3.55 14.692C3.034 14.563 2.646 14.399 2.388 14.2C2.129 14.002 2 13.768 2 13.5C2 13.232 2.129 12.998 2.388 12.8C2.646 12.601 3.034 12.437 3.55 12.308C4.216 12.141 4.988 12.043 5.867 12.011C5.911 12.009 5.955 12.008 6 12.007L6 3.927C6 3.605 6.073 3.301 6.22 3.015ZM8.447 3.033C8.303 2.961 8.151 2.926 7.99 2.927C7.804 2.929 7.632 2.979 7.474 3.076C7.316 3.174 7.195 3.306 7.11 3.471C7.037 3.614 7 3.766 7 3.927L7 6.691L11.382 4.5L8.447 3.033ZM3.793 13.278C3.517 13.347 3.301 13.421 3.145 13.5C3.301 13.579 3.517 13.653 3.793 13.722C4.534 13.907 5.436 14 6.5 14C7.564 14 8.466 13.907 9.207 13.722C9.483 13.653 9.699 13.579 9.855 13.5C9.699 13.421 9.483 13.347 9.207 13.278C8.613 13.13 7.916 13.041 7.116 13.011C6.917 13.004 6.712 13 6.5 13C6.288 13 6.083 13.004 5.884 13.011C5.084 13.041 4.387 13.13 3.793 13.278Z" />
    </svg>
  );
}
Vue
Vue: see /icons/golf.md
Svelte
Svelte: see /icons/golf.md
HTML img
HTML img: see /icons/golf.md
CSS
CSS: see /icons/golf.md
Data URL
Data URL: see /icons/golf.md
Sprite
Sprite: see /icons/golf.md
SwiftUI
SwiftUI: see /icons/golf.md
Compose
Compose: see /icons/golf.md
Android XML
Android XML: see /icons/golf.md
Flutter
Flutter: see /icons/golf.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 { GolfIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
golf, golf course, mini golf
Tags
golf, golf-course, flag, hole, putting-green, pin, sports, game, club
Category
Games & sports
Component name
GolfIcon
History
  • added
  • released in 0.1.0
  • changed in 0.2.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 1

More games & sports icons

For agents

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