svg-icons

1.0.13 • Public • Published

Svg Icons

Install

bower install svg-icons --save

Example usage

 
<main ng-app="exampleApp">
    <!-- use svg symbol/icon -->
    <icon icon="apps" class="my custom classes here"></icon>
    <icon icon="grid-on"></icon>
</main>
 
<script src="build/lib/angular/angular.min.js"></script>
<script src="dist/svg-icons.js"></script>
<script>
    //include module in app
    angular.module('exampleApp', [
        'svg-icons'
    ])
    //if you want to configure options:
    .run(function(svgIconProvider) {
        svgIconProvider.setOpts({
            baseClass: 'icon-ex'
        });
    });
</script> 

See icons-manifest.json to quickly see all available icons.

Only needed SVGs are included in the build. The google-svgs folder is all of Google's icons. The ones included in the Tute icon build process are in the svg folder.

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i svg-icons

    Weekly Downloads

    49

    Version

    1.0.13

    License

    MIT

    Last publish

    Collaborators

    • geoctrl