gentleface

Gentleface › Nature & animals › grass

grass icon

Grass: grass, lawn, turf. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated grass-sway · line-round

A gust crosses the tuft from left to right. Each blade bends from its foot, the tips furthest, and the swaying dies away.

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.25 s to 3 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="M10.548 11.43C11.644 9.47 13.191 8.223 15 7.5C13 9.5 12 11 12 14L15 14L15 15L1 15L1 14L4 14C4 11 3 9 1 7.5C2.808 8.223 4.354 9.469 5.45 11.427C5.29 7.609 4.733 4.466 3.5 2C6.5 5 8 9 8 14C8 8.5 9.5 4 12.5 1C11.262 3.889 10.705 7.46 10.548 11.43Z"/></svg>
React
// Gentleface "grass" (line-round), MIT. https://gentleface.com/icons/grass
import type { SVGProps } from 'react';

export function GrassIcon(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="M10.548 11.43C11.644 9.47 13.191 8.223 15 7.5C13 9.5 12 11 12 14L15 14L15 15L1 15L1 14L4 14C4 11 3 9 1 7.5C2.808 8.223 4.354 9.469 5.45 11.427C5.29 7.609 4.733 4.466 3.5 2C6.5 5 8 9 8 14C8 8.5 9.5 4 12.5 1C11.262 3.889 10.705 7.46 10.548 11.43Z" />
    </svg>
  );
}
Vue
Vue: see /icons/grass.md
Svelte
Svelte: see /icons/grass.md
HTML img
HTML img: see /icons/grass.md
CSS
CSS: see /icons/grass.md
Data URL
Data URL: see /icons/grass.md
Sprite
Sprite: see /icons/grass.md
SwiftUI
SwiftUI: see /icons/grass.md
Compose
Compose: see /icons/grass.md
Android XML
Android XML: see /icons/grass.md
Flutter
Flutter: see /icons/grass.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 { GrassIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
grass, lawn, turf
Tags
grass, lawn, turf, meadow, yard, garden, field, park, blades, mowing, landscaping, nature, green
Category
Nature & animals
Component name
GrassIcon
History
  • released in 0.2.0
  • added
  • 20 px drawn, 24 px drawn
Since
version 0.2.0

More nature & animals icons

For agents

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