npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vct-icons

v0.3.2

Published

[![npm](https://img.shields.io/npm/v/vct-icons?color=006AFF)](https://www.npmjs.com/package/vct-icons)

Downloads

20

Readme

npm

简体中文

Vct Icons 是一套适配 Vue Common Template 的开源图标库。基于 Remix Icon 封装,额外支持本地 svg 图片,但需要安装 svg-sprite-loader 并指定目录。 图标以 24x24 网格为基准,分为“线性图标”和“面型图标”两种风格。所有的图标均可免费用于个人项目和商业项目,Enjoy it~

icon demo

前往 Remix Icon 官网查看整套图标库 remixicon.com.

使用说明

基本用法

直接在remixicon.com点击您想要的图标, 在打开的图标窗口中复制图标名称作为组件 icon 属性值即可。

安装引入

npm install vct-icons --save
import VctIcon from 'vct-icons'
import 'vct-icons/fonts/vct-icons.css'
Vue.use(VctIcon)

使用

引入 Vct Icons 图标库后,就可以在 web 项目中使用了,只要在使用图标的时候将图标名称作为 icon 属性值就可以了。规则:icon="图标名称"

<vct-icon icon="admin-line" />

大小

size="图标大小"

<div style="font-size: 24px;">
  <vct-icon icon="admin-line" size="fw" />
  <!-- fixed width -->
  <vct-icon icon="admin-line" size="xxs" />
  <!-- 0.5em -->
  <vct-icon icon="admin-line" size="xs" />
  <!-- 0.75em -->
  <vct-icon icon="admin-line" size="sm" />
  <!-- 0.875em -->
  <vct-icon icon="admin-line" size="1x" />
  <!-- 1em -->
  <vct-icon icon="admin-line" size="lg" />
  <!-- 1.3333em -->
  <vct-icon icon="admin-line" size="xl" />
  <!-- 1.5em -->
  <vct-icon icon="admin-line" size="2x" />
  <!-- 2em -->
  <vct-icon icon="admin-line" size="3x" />
  <!-- 3em -->
  ...
  <vct-icon icon="admin-line" size="10x" />
  <!-- 10em -->
</div>

您也可以在 remixicon.css 中查看到更多的尺寸定义相关信息。