Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aplus-frontend/icon

Package Overview
Dependencies
Maintainers
0
Versions
21
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)

  • 1.0.21
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
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

Copy Code
<template>
  <IconApLogistics
    :style="{
      fontSize: '40px',
      display: 'inline-block',
      animation: 'spin 4s linear infinite'
    }"
  />
</template>
<script setup>
import { IconApLogistics } from '@aplus-frontend/icon';
</script>
<style lang="less">
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
</style>

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

FAQs

Package last updated on 30 Aug 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc