Skip to content

图标 Icon

基于 RemixIcon 生成的 Icon 组件

基础使用

通过使用 birdpaper-icon 组件使用图标库

<template>
  <bp-space>
    <IconBrush3Line />
    <IconBardLine />
    <IconCompass3Line />
    <IconVuejsLine />
    <IconCelsiusFill />
  </bp-space>
</template>

<script setup lang="ts">
import { IconBrush3Line, IconBardLine, IconCompass3Line, IconVuejsLine, IconCelsiusFill } from "birdpaper-icon";
</script>

Icon 属性

size
图标尺寸
String
18
fill
填充颜色
String
-
rotate
旋转角度
Number
-
spin
是否旋转
Boolean
false