@square/maker-icons

3.2.1 • Public • Published

Maker icons

Icon set for Maker. Mostly uses icons from Feather Icons plus a few manual additions.

Using

npm install @square/maker-icons

Then within your Vue components:

<template>
    <span class="error">
        <alert-circle> {{ errorMessage }}
    </span>
</template>

<script>
import AlertCircle from '@square/maker-icons/AlertCircle';

export default {
    name: 'MyErrorComponent',
    components: {
        AlertCircle,
    },
    props: {
        errorMessage: {
            type: String,
            required: true,
        },
    },
};
</script>

<style scoped>
.error {
    color: red; /* only colors the text */
    fill: red; /* required to color the icon */
}
</style>

Contributing

Installing dependencies

npm ci

Building

npm run build

Manually adding icons

Add the svg files to the svg folder. Use kebab-case names for the file names.

Publishing

Check you're publishing what you intend to with:

npm publish --dry-run

Before publishing remember to bump the version in package.json.

Also remember to login using npm login.

Then actually publish with:

npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i @square/maker-icons

Weekly Downloads

8

Version

3.2.1

License

Apache-2.0

Unpacked Size

1.04 MB

Total Files

297

Last publish

Collaborators

  • devonsquare
  • plinio-square
  • artemchubaryan
  • akolyte01
  • amoghk
  • jguze-sq
  • joanc
  • square-owner
  • adrw
  • square-developers
  • matahwoosh
  • hirokiosame
  • dpapastrat
  • linnea
  • pretzelhammer
  • alexandersmanning