@ikions/icons
Original Ikions icons as optimised SVG files (Outline and Filled), SVG sprites and a framework-free toSvg() helper.
Install
npm install @ikions/icons
Usage
import { toSvg } from "@ikions/icons";
const svg = toSvg("bell", "filled", { size: 20, color: "#5555E8", title: "Notifications" });
toSvg() looks icons up by name, so it includes every icon. That is fine on a server or at build time. In browser code, import only the icons you use:
import { nodesToSvg } from "@ikions/icons";
import bell from "@ikions/icons/nodes/bell";
const svg = nodesToSvg(bell.filled, "filled", { size: 20 });
Files: @ikions/icons/outline/<name>.svg, @ikions/icons/filled/<name>.svg, @ikions/icons/sprite/outline.svg, @ikions/icons/sprite/filled.svg (symbol ids ikions-<name>).
See the documentation on the Ikions website (/docs).
License
Free for personal and commercial use under the Ikions License (see LICENSE). Ikions is free, not open source: the icons may not be resold or redistributed as a set. The Ikions name and logo are not covered by the license.