A npm package that easily provides the awesome Captain Icon's +350 FREE vector icons to empower your mobile and designs.
1. Add the library to your project
$ npm i captain-icon
$ yarn add captain-icon
2. Reference the fonts on the HTML's head
<head>
<link href="path/to/dist/captain-icons.css" rel="stylesheet">
</head>
<i class="cap-icon ci-camera"></i>
For details and embeddings codes, click here.
The following variables are allowed to be set externally:
Variable | Description | Default value |
---|---|---|
$captain-icon-selector | Defines main icon selector | cap-icon |
$captain-icon-slug | Defines the icon selector | ci |
$captain-icon-font-path | Defines the fonts' path | web-fonts |
- Bug reports and pull requests are welcome on GitHub
- Follow the Semantic Versioning Specification
- Follow the GitHub Flow
- Follow the 5 Useful Tips For A Better Commit Message article and the How to Write a Git Commit Message post
- Use Commitizen cli when committing
Everyone interacting in the Captain-Icons project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
The package is available as open source under the terms of the CC BY-SA 4.0.
(c) Designed by Mario del Valle. Licensed under the CC BY-SA 4.0.