@luscious-garden/aster-svg
v0.1.1
Published
Framework-independent SVG rendering for portable Aster icon definitions.
Readme
@luscious-garden/aster-svg
Framework-independent ES2022 ESM rendering of portable Aster definitions into standalone SVG strings. Rendering performs no DOM or filesystem effects.
Usage
Install the renderer and icons used by this example:
pnpm add @luscious-garden/aster-svg @luscious-garden/aster-iconsimport { ArrowLeft } from "@luscious-garden/aster-icons/arrow-left";
import { Svg } from "@luscious-garden/aster-svg";
const markup = Svg.render(ArrowLeft, { size: 24, label: "Back" });Definitions authored with Core work through the same rendering API. Rendering owns options, accessibility, escaping and failure behaviour.
Documentation
- Package guide: exports, contracts and rendering features.
- Version history: changes and migration guidance.
Licence
Software and documentation follow ISC.
