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

@element-plus/icons-vue

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@element-plus/icons-vue

Vue components of Element Plus Icons collection.

  • 2.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created

What is @element-plus/icons-vue?

@element-plus/icons-vue is a package that provides a collection of Vue 3 components for Element Plus icons. It allows developers to easily integrate and use a wide variety of icons in their Vue applications.

What are @element-plus/icons-vue's main functionalities?

Basic Icon Usage

This feature allows you to use basic icons in your Vue components. The example demonstrates how to import and use the 'Home' icon from the @element-plus/icons-vue package.

<template>
  <el-icon><Home /></el-icon>
</template>

<script>
import { Home } from '@element-plus/icons-vue';

export default {
  components: {
    Home
  }
};
</script>

Custom Icon Size

This feature allows you to customize the size of the icons. The example shows how to set the size of the 'Home' icon to 32 pixels.

<template>
  <el-icon :size="32"><Home /></el-icon>
</template>

<script>
import { Home } from '@element-plus/icons-vue';

export default {
  components: {
    Home
  }
};
</script>

Custom Icon Color

This feature allows you to customize the color of the icons. The example demonstrates how to set the color of the 'Home' icon to red.

<template>
  <el-icon :style="{ color: 'red' }"><Home /></el-icon>
</template>

<script>
import { Home } from '@element-plus/icons-vue';

export default {
  components: {
    Home
  }
};
</script>

Other packages similar to @element-plus/icons-vue

Keywords

FAQs

Package last updated on 27 Nov 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

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