@jedd-icons/core 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# @jedd-icons/core
|
|
2
|
+
|
|
3
|
+
Sharp, squared SVG icons for vanilla JavaScript — no framework required.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @jedd-icons/core
|
|
9
|
+
# or
|
|
10
|
+
pnpm add @jedd-icons/core
|
|
11
|
+
# or
|
|
12
|
+
yarn add @jedd-icons/core
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
import { createElement, ArrowDownLeft } from "@jedd-icons/core";
|
|
19
|
+
|
|
20
|
+
const svg = createElement(ArrowDownLeft, { size: 32 });
|
|
21
|
+
document.body.appendChild(svg);
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Filled variants are available from `@jedd-icons/core/fill`.
|
|
25
|
+
|
|
26
|
+
## Documentation
|
|
27
|
+
|
|
28
|
+
Browse the full icon gallery and docs at [jeddicons.com](https://jeddicons.com) · [jeddicons.com/docs](https://jeddicons.com/docs).
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
[MIT](https://github.com/jedd-labs/jedd-icons/blob/main/LICENSE)
|