Discover, copy, install — 176 retro food sprites for games, recipes, and UI.
$ npm install pixelfood const { manifest, all, path: iconPath } = require("pixelfood"); iconPath("tomato"); // → /…/node_modules/pixelfood/src/assets/icons/tomato.png manifest.categories.fruits; // → ["apple","pear","orange","banana", …] all.length; // → 176
import { PixelfoodIcon } from "pixelfood/react"; <PixelfoodIcon name="tomato" size={64} /> <PixelfoodIcon name="salmon" size={48} /> <PixelfoodIcon name="olive_oil" /> // CSS background-position on a single webp. // Crisp at any integer multiple of 32.
Full terms: creativecommons.org/licenses/by-nc-sa/4.0 · LICENSE