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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fx1422/semi-icons-lab-vue

v1.0.0

Published

基于 Semi Design 的 Vue 3 实验室图标组件库。这些图标是 Semi Design 的实验性图标,提供了更多样化的图标选择。

Readme

@fx1422/semi-icons-lab-vue

基于 Semi Design 的 Vue 3 实验室图标组件库。这些图标是 Semi Design 的实验性图标,提供了更多样化的图标选择。

安装

# 使用 npm
npm install @fx1422/semi-icons-lab-vue

# 使用 yarn
yarn add @fx1422/semi-icons-lab-vue

# 使用 pnpm
pnpm add @fx1422/semi-icons-lab-vue

使用方法

全局注册

import { createApp } from 'vue'
import App from './App.vue'
import { SemiIconsLab } from '@fx1422/semi-icons-lab-vue'

const app = createApp(App)
app.use(SemiIconsLab)
app.mount('#app')

按需引入

import { IconLabHome, IconLabUser } from '@fx1422/semi-icons-lab-vue'

在组件中使用

<template>
  <div>
    <!-- 使用全局注册的图标 -->
    <semi-icon-lab-home />
    <semi-icon-lab-user />

    <!-- 使用按需引入的图标 -->
    <icon-lab-home />
    <icon-lab-user />
  </div>
</template>

<script setup lang="ts">
import { IconLabHome, IconLabUser } from '@fx1422/semi-icons-lab-vue'
</script>

图标属性

| 属性名 | 类型 | 默认值 | 说明 | |--------|------|--------|------| | size | number | string | 16 | 图标大小 | | color | string | - | 图标颜色 | | spin | boolean | false | 是否旋转 | | rotate | number | 0 | 旋转角度 |

示例

<template>
  <div>
    <!-- 基础用法 -->
    <semi-icon-lab-home />
    
    <!-- 自定义大小 -->
    <semi-icon-lab-home :size="24" />
    
    <!-- 自定义颜色 -->
    <semi-icon-lab-home color="#1890ff" />
    
    <!-- 旋转动画 -->
    <semi-icon-lab-home spin />
    
    <!-- 自定义旋转角度 -->
    <semi-icon-lab-home :rotate="90" />
  </div>
</template>

实验室图标特点

实验室图标是 Semi Design 的实验性图标集合,具有以下特点:

  1. 更丰富的图标样式
  2. 更现代的视觉设计
  3. 更灵活的定制选项
  4. 持续更新和优化

与标准图标的区别

  • 命名规范:所有实验室图标都以 Lab 为前缀
  • 视觉风格:采用更现代的设计语言
  • 使用场景:适合需要独特视觉效果的场景

版本兼容

  • Vue 3.x
  • TypeScript 4.x+

相关链接

许可证

MIT