Gentleface › Layout & interface › density
density icon
densityDensity: display density, density, compact view. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
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="M3.5 3.793L5.146 2.146C5.244 2.049 5.362 2 5.5 2C5.638 2 5.756 2.049 5.854 2.146C5.951 2.244 6 2.362 6 2.5C6 2.638 5.951 2.756 5.854 2.854L3.854 4.854C3.756 4.951 3.638 5 3.5 5C3.362 5 3.244 4.951 3.146 4.854L1.146 2.854C1.049 2.756 1 2.638 1 2.5C1 2.362 1.049 2.244 1.146 2.146C1.246 2.047 1.364 1.997 1.5 1.997C1.636 1.997 1.754 2.047 1.854 2.146L3.5 3.793ZM7.144 4.856C7.048 4.759 7 4.641 7 4.5C7 4.359 7.048 4.241 7.144 4.144C7.241 4.048 7.359 4 7.5 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144C14.952 4.241 15 4.359 15 4.5C15 4.641 14.952 4.759 14.856 4.856C14.759 4.952 14.641 5 14.5 5L7.5 5C7.359 5 7.241 4.952 7.144 4.856ZM7.144 6.856C7.048 6.759 7 6.641 7 6.5C7 6.359 7.048 6.241 7.144 6.144C7.241 6.048 7.359 6 7.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L7.5 7C7.359 7 7.241 6.952 7.144 6.856ZM14.856 8.144C14.952 8.241 15 8.359 15 8.5C15 8.641 14.952 8.759 14.856 8.856C14.759 8.952 14.641 9 14.5 9L7.5 9C7.359 9 7.241 8.952 7.144 8.856C7.048 8.759 7 8.641 7 8.5C7 8.359 7.048 8.241 7.144 8.144C7.241 8.048 7.359 8 7.5 8L14.5 8C14.641 8 14.759 8.048 14.856 8.144ZM5.854 12.146C5.953 12.246 6.003 12.364 6.003 12.5C6.003 12.636 5.953 12.754 5.854 12.854C5.756 12.951 5.638 13 5.5 13C5.362 13 5.244 12.951 5.146 12.854L3.5 11.207L1.854 12.854C1.756 12.951 1.638 13 1.5 13C1.362 13 1.244 12.951 1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146L3.146 10.146C3.246 10.047 3.364 9.997 3.5 9.997C3.636 9.997 3.754 10.047 3.854 10.146L5.854 12.146ZM7.144 10.856C7.048 10.759 7 10.641 7 10.5C7 10.359 7.048 10.241 7.144 10.144C7.241 10.048 7.359 10 7.5 10L14.5 10C14.641 10 14.759 10.048 14.856 10.144C14.952 10.241 15 10.359 15 10.5C15 10.641 14.952 10.759 14.856 10.856C14.759 10.952 14.641 11 14.5 11L7.5 11C7.359 11 7.241 10.952 7.144 10.856Z"/></svg>
// Gentleface "density" (line-round), MIT. https://gentleface.com/icons/density
import type { SVGProps } from 'react';
export function DensityIcon(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="M3.5 3.793L5.146 2.146C5.244 2.049 5.362 2 5.5 2C5.638 2 5.756 2.049 5.854 2.146C5.951 2.244 6 2.362 6 2.5C6 2.638 5.951 2.756 5.854 2.854L3.854 4.854C3.756 4.951 3.638 5 3.5 5C3.362 5 3.244 4.951 3.146 4.854L1.146 2.854C1.049 2.756 1 2.638 1 2.5C1 2.362 1.049 2.244 1.146 2.146C1.246 2.047 1.364 1.997 1.5 1.997C1.636 1.997 1.754 2.047 1.854 2.146L3.5 3.793ZM7.144 4.856C7.048 4.759 7 4.641 7 4.5C7 4.359 7.048 4.241 7.144 4.144C7.241 4.048 7.359 4 7.5 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144C14.952 4.241 15 4.359 15 4.5C15 4.641 14.952 4.759 14.856 4.856C14.759 4.952 14.641 5 14.5 5L7.5 5C7.359 5 7.241 4.952 7.144 4.856ZM7.144 6.856C7.048 6.759 7 6.641 7 6.5C7 6.359 7.048 6.241 7.144 6.144C7.241 6.048 7.359 6 7.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L7.5 7C7.359 7 7.241 6.952 7.144 6.856ZM14.856 8.144C14.952 8.241 15 8.359 15 8.5C15 8.641 14.952 8.759 14.856 8.856C14.759 8.952 14.641 9 14.5 9L7.5 9C7.359 9 7.241 8.952 7.144 8.856C7.048 8.759 7 8.641 7 8.5C7 8.359 7.048 8.241 7.144 8.144C7.241 8.048 7.359 8 7.5 8L14.5 8C14.641 8 14.759 8.048 14.856 8.144ZM5.854 12.146C5.953 12.246 6.003 12.364 6.003 12.5C6.003 12.636 5.953 12.754 5.854 12.854C5.756 12.951 5.638 13 5.5 13C5.362 13 5.244 12.951 5.146 12.854L3.5 11.207L1.854 12.854C1.756 12.951 1.638 13 1.5 13C1.362 13 1.244 12.951 1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146L3.146 10.146C3.246 10.047 3.364 9.997 3.5 9.997C3.636 9.997 3.754 10.047 3.854 10.146L5.854 12.146ZM7.144 10.856C7.048 10.759 7 10.641 7 10.5C7 10.359 7.048 10.241 7.144 10.144C7.241 10.048 7.359 10 7.5 10L14.5 10C14.641 10 14.759 10.048 14.856 10.144C14.952 10.241 15 10.359 15 10.5C15 10.641 14.952 10.759 14.856 10.856C14.759 10.952 14.641 11 14.5 11L7.5 11C7.359 11 7.241 10.952 7.144 10.856Z" />
</svg>
);
}Vue: see /icons/density.md
Svelte: see /icons/density.md
HTML img: see /icons/density.md
CSS: see /icons/density.md
Data URL: see /icons/density.md
Sprite: see /icons/density.md
SwiftUI: see /icons/density.md
Compose: see /icons/density.md
Android XML: see /icons/density.md
Flutter: see /icons/density.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 { DensityIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- display density, density, compact view
- Tags
- density, display-density, compact, compact-view, comfortable, cozy, spacing, row-height, rows, lines, layout, view-options
- Category
- Layout & interface
- Component name
DensityIcon- History
- released in 0.2.0
- added
- 20 px drawn, 24 px drawn
- Since
- version 0.2.0
Family 1
More layout & interface icons
accordion app apps apps-alert apps-check apps-clock apps-gear apps-link apps-off apps-pencil apps-plus apps-search apps-shield apps-sparkle apps-x breadcrumb · all layout & interface icons
For agents
Metadata: /icons/density.json · Markdown: /icons/density.md · SVG: https://gentleface.com/svg/{style}/16/density.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/density.png