Socket
Book a DemoInstallSign in
Socket

@square/maker-icons

Package Overview
Dependencies
Maintainers
16
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@square/maker-icons

Maker Icons

latest
Source
npmnpm
Version
3.2.1
Version published
Maintainers
16
Created
Source

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

FAQs

Package last updated on 03 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts