Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@aplus-frontend/icon

Package Overview
Dependencies
Maintainers
12
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aplus-frontend/icon

Vue3 SVG icon components integrated from [`@aplus-frontend/icon`](https://www.npmjs.com/settings/aplus-frontend/packages)

npmnpm
Version
1.0.12
Version published
Weekly downloads
86
-71.14%
Maintainers
12
Weekly downloads
 
Created
Source

Aplus svg icons for Vue3

Vue3 SVG icon components integrated from @aplus-frontend/icon can be imported like a component. try it now 🎉

NPM Version NPM Downloads NPM License

Install

pnpm add @aplus-frontend/icon -w

Basic Usage

First, you should add the icons that you need into the library. After that, you can use icons in your Vue components as simply as this:

import { IconApOrder } from '@aplus-frontend/icon';
<template>
  <IconApOrder />
</template>;

Custom Icon

Style properties of icon, like fontSize and color

import { IconApOrder,IconApageWaitstatus } from '@aplus-frontend/icon';
<template>
   <IconApOrder :style="{ fontSize: '40px', color: '#fff' }" />

   <!--rotate icon-->
   <IconApageWaitstatus
    :style="{
      fontSize: '70px',
      color: '#fff',
      transform: 'rotate(30deg)'
    }"
  />
</template>;

All of icons in the library

You can see more detail in the document

//or you can import all of the icons

import icons from '@aplus-frontend/icon';

Build project

pnpm run build:icons # Build library

Keywords

icon

FAQs

Package last updated on 19 Jun 2024

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