Framework agnostic
Every icon returns a plain SVG string, so the library works in React, Vue, Svelte, web components, and plain DOM code.
275 SVG icons across 34 categories, each available in outline and filled variants with a small callable API.
@prastavna/icons is a framework-agnostic icon library for music score notation symbols and other generic icons. Each export is a function that returns a complete <svg> string and also exposes metadata such as iconName, category, variant, and viewBox.
vp add @prastavna/iconsimport { noteQuarter } from "@prastavna/icons";
const svg = noteQuarter({ size: 28, color: "#7c3aed" });
element.innerHTML = svg;Install the package, choose root or subpath imports, and wire SVG output into your UI.
See the icon function shape, supported options, metadata, and rendering behavior.
Browse every export by category, search by name, and copy icon names directly from each card.
See TypeScript examples for plain DOM usage plus React, Vue, Svelte, and Astro integrations.
Notes, rests, clefs, accidentals, time signatures, dynamics, articulations, ornaments, repeats, barlines, beams, ties, slurs, pedals, bows, miscellaneous notation symbols, notation extended, instruments, player controls, arrows, navigation, actions, files, communication, UI, shapes, media, data, time, weather, maps, social, dev, and commerce.
noteQuarter and clefTreble.quarter and treble.viewBox is 0 0 24 24, but it can be overridden per call.