@christicons/core
v0.1.2
Published
Core Christicons metadata and raw SVG exports.
Maintainers
Readme
@christicons/core
Core package for the Christicons icon set.
This package exposes the raw SVG strings, icon metadata, the manifest file, and small helpers for building your own integrations.
Installation
npm install @christicons/coreWhat it includes
icons: map of icon name to optimized SVG stringiconNames: list of all available icon namesiconMetadata: metadata indexed by icon nameiconList: metadata as an arraygetIconSvg(name): safe lookup helperrequireIconSvg(name): strict lookup helpermanifest.json: JSON manifest that can be consumed by build tools or scripts
Usage
import { getIconSvg, iconNames, iconMetadata } from '@christicons/core'
const svg = getIconSvg('cross')
const allNames = iconNames
const crossMeta = iconMetadata.crossManifest import
import manifest from '@christicons/core/manifest.json'
console.log(manifest[0])Notes
- The package contains optimized static assets generated from the Christicons source of truth.
- It is intended for custom adapters, build pipelines, or framework integrations.
