Overview
The carbon-pictograms-svelte library is a zero dependency library that builds Carbon Design System SVG pictograms as Svelte components. It can be used standalone or paired with carbon-components-svelte. This library allows for easy integration of Carbon Design System pictograms in Svelte projects.
Features
- Zero dependency library
- Builds Carbon Design System SVG pictograms as Svelte components
- Can be used standalone or paired with
carbon-components-svelte - Supports TypeScript with Svelte version 3.31 or greater
Installation
To install carbon-pictograms-svelte as a development dependency, use the following code snippet:
npm install --save-dev carbon-pictograms-svelte
Summary
The carbon-pictograms-svelte library is a useful tool for integrating Carbon Design System SVG pictograms in Svelte projects. It provides a zero dependency solution for creating Svelte components from the pictograms and can be used standalone or with carbon-components-svelte. The library also supports TypeScript with Svelte version 3.31 or greater. Overall, carbon-pictograms-svelte simplifies the process of incorporating Carbon Design System pictograms in Svelte applications.