0.5.6 • Published 2 days ago

@archway-kit/icons v0.5.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 days ago

Installation

npm install @archway-kit/icons

Usage

Import css file and use archway-icons as a font using classes.

<link rel="stylesheet" type="text/css" href="@archway-kit/icons/dist/archway-icons.css" />

<i class="archway-anchor" />

You can also import enums / types to access all the icons' names and IDs in your TypeScript / JavaScript files:

import { ArchwayIcons, ArchwayIconsClasses } from '@archway-kit/icons';
import type { ArchwayIconsKey, ArchwayIconsId, ArchwayIconsClass } from '@archway-kit/icons';

console.log(ArchwayIcons.ArrowDownCircle);
// > "arrow-down-circle"

console.log(ArchwayIconsClasses.ArrowDownCircle);
// > "archway-arrow-down-circle"

Development

To add new icons, put the SVG sources in the ./src dir and run:

npm run optimize

That script will optimize SVGs and transform strokes into resizable paths.

You can also run npm run debug to generate artifacts (as well as html and svg previews) in the debug mode in the ./build dir, so you can double-check the results.

To build artifacts for production, run npm run build.

0.5.6

2 days ago

0.5.5

2 days ago

0.5.4

5 days ago

0.5.3

5 days ago

0.5.0

6 days ago

0.5.2

6 days ago

0.5.1

6 days ago

0.4.28

19 days ago

0.4.26

19 days ago

0.4.27

19 days ago

0.4.25

20 days ago

0.4.24

23 days ago

0.4.23

26 days ago

0.4.22

29 days ago

0.4.21

1 month ago

0.4.20

1 month ago

0.4.19

1 month ago

0.4.18

1 month ago

0.4.17

2 months ago

0.4.15

2 months ago

0.4.16

2 months ago

0.4.14

2 months ago

0.4.13

3 months ago

0.4.12

3 months ago

0.4.11

3 months ago

0.4.10

3 months ago

0.4.9

3 months ago

0.4.8

3 months ago

0.4.5

3 months ago

0.4.7

3 months ago

0.4.6

3 months ago

0.4.4

3 months ago

0.4.3

3 months ago

0.4.2

3 months ago

0.4.1

3 months ago

0.4.0

3 months ago

0.3.12

4 months ago

0.3.11

4 months ago

0.3.10

4 months ago

0.3.9

4 months ago

0.3.6

4 months ago

0.3.8

4 months ago

0.3.7

4 months ago

0.3.0

4 months ago

0.3.5

4 months ago

0.3.2

4 months ago

0.3.1

4 months ago

0.3.4

4 months ago

0.3.3

4 months ago

0.2.13

4 months ago

0.2.12

4 months ago

0.2.11

4 months ago

0.2.10

4 months ago

0.2.9

5 months ago

0.2.8

5 months ago

0.2.7

5 months ago

0.2.6

5 months ago

0.2.5

5 months ago

0.2.4

5 months ago

0.2.3

5 months ago

0.2.2

6 months ago

0.2.1

6 months ago

0.2.0

6 months ago

0.1.20

6 months ago

0.1.19

6 months ago

0.1.18

6 months ago

0.1.17

6 months ago