gentleface

Gentleface › Layout & interface › grid

grid icon

Grid: grid view, tiles, tile view, thumbnail view. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.

Animated grid-write · line-round

Every stroke erases along its own direction, then redraws one after another in the drawing’s order.

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.1 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.707 2.293C6.902 2.488 7 2.724 7 3L7 6C7 6.276 6.902 6.512 6.707 6.707C6.512 6.902 6.276 7 6 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 3C2 2.724 2.098 2.488 2.293 2.293C2.488 2.098 2.724 2 3 2L6 2C6.276 2 6.512 2.098 6.707 2.293ZM13.707 6.707C13.512 6.902 13.276 7 13 7L10 7C9.724 7 9.488 6.902 9.293 6.707C9.098 6.512 9 6.276 9 6L9 3C9 2.724 9.098 2.488 9.293 2.293C9.488 2.098 9.724 2 10 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3L14 6C14 6.276 13.902 6.512 13.707 6.707ZM3 6L6 6L6 3L3 3L3 6ZM13 6L13 3L10 3L10 6L13 6ZM6.707 9.293C6.902 9.488 7 9.724 7 10L7 13C7 13.276 6.902 13.512 6.707 13.707C6.512 13.902 6.276 14 6 14L3 14C2.724 14 2.488 13.902 2.293 13.707C2.098 13.512 2 13.276 2 13L2 10C2 9.724 2.098 9.488 2.293 9.293C2.488 9.098 2.724 9 3 9L6 9C6.276 9 6.512 9.098 6.707 9.293ZM13.707 13.707C13.512 13.902 13.276 14 13 14L10 14C9.724 14 9.488 13.902 9.293 13.707C9.098 13.512 9 13.276 9 13L9 10C9 9.724 9.098 9.488 9.293 9.293C9.488 9.098 9.724 9 10 9L13 9C13.276 9 13.512 9.098 13.707 9.293C13.902 9.488 14 9.724 14 10L14 13C14 13.276 13.902 13.512 13.707 13.707ZM3 13L6 13L6 10L3 10L3 13ZM13 13L13 10L10 10L10 13L13 13Z"/></svg>
React
// Gentleface "grid" (line-round), MIT. https://gentleface.com/icons/grid
import type { SVGProps } from 'react';

export function GridIcon(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.707 2.293C6.902 2.488 7 2.724 7 3L7 6C7 6.276 6.902 6.512 6.707 6.707C6.512 6.902 6.276 7 6 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 3C2 2.724 2.098 2.488 2.293 2.293C2.488 2.098 2.724 2 3 2L6 2C6.276 2 6.512 2.098 6.707 2.293ZM13.707 6.707C13.512 6.902 13.276 7 13 7L10 7C9.724 7 9.488 6.902 9.293 6.707C9.098 6.512 9 6.276 9 6L9 3C9 2.724 9.098 2.488 9.293 2.293C9.488 2.098 9.724 2 10 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3L14 6C14 6.276 13.902 6.512 13.707 6.707ZM3 6L6 6L6 3L3 3L3 6ZM13 6L13 3L10 3L10 6L13 6ZM6.707 9.293C6.902 9.488 7 9.724 7 10L7 13C7 13.276 6.902 13.512 6.707 13.707C6.512 13.902 6.276 14 6 14L3 14C2.724 14 2.488 13.902 2.293 13.707C2.098 13.512 2 13.276 2 13L2 10C2 9.724 2.098 9.488 2.293 9.293C2.488 9.098 2.724 9 3 9L6 9C6.276 9 6.512 9.098 6.707 9.293ZM13.707 13.707C13.512 13.902 13.276 14 13 14L10 14C9.724 14 9.488 13.902 9.293 13.707C9.098 13.512 9 13.276 9 13L9 10C9 9.724 9.098 9.488 9.293 9.293C9.488 9.098 9.724 9 10 9L13 9C13.276 9 13.512 9.098 13.707 9.293C13.902 9.488 14 9.724 14 10L14 13C14 13.276 13.902 13.512 13.707 13.707ZM3 13L6 13L6 10L3 10L3 13ZM13 13L13 10L10 10L10 13L13 13Z" />
    </svg>
  );
}
Vue
Vue: see /icons/grid.md
Svelte
Svelte: see /icons/grid.md
HTML img
HTML img: see /icons/grid.md
CSS
CSS: see /icons/grid.md
Data URL
Data URL: see /icons/grid.md
Sprite
Sprite: see /icons/grid.md
SwiftUI
SwiftUI: see /icons/grid.md
Compose
Compose: see /icons/grid.md
Android XML
Android XML: see /icons/grid.md
Flutter
Flutter: see /icons/grid.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 { GridIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
grid view, tiles, tile view, thumbnail view, chart layout, multi chart layout
Alternatives
  • list: the list view mode (list-view)
  • cards: cards with a title and a body (card-view)
  • layout-dashboard: a dashboard of widgets (dashboard)
Don’t confuse with
  • apps: apps is the app launcher
  • grid-lines: grid-lines shows a layout grid on a canvas (show-grid)
Also fits
  • card view: a grid of equal tiles or thumbnails (grid-view)
  • dashboard: a grid view of content (grid-view)
  • table: a grid of tiles (grid-view)
  • list view: a grid of tiles (grid-view)
Not for
  • treemap (use treemap): equal cells mean a grid view (grid-view)
  • breakout rooms (use breakout-rooms): a layout grid, not rooms
  • dialpad (use dialpad): a layout grid, not digits
  • show grid (use grid-lines): grid means a tiled grid view of items
  • apps (use apps): grid is a grid view of content (grid-view), not the app launcher
  • collage (use collage): a grid view of items, a page layout (grid-view)
Tags
grid, tiles, squares, gallery, view, dashboard
Category
Layout & interface
Component name
GridIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

More layout & interface icons

For agents

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