@rappel-ui/svg-icons
@rappel-ui/svg-icons
Description
SVG icons for Rappel-UI.
Installation
npm install @rappel-ui/svg-icons
pnpm add @rappel-ui/svg-icons -D
yarn add @rappel-ui/svg-icons
Usage
<template>
<div>
<Star />
<StarFill />
<re-button circle :icon="Star" />
<re-button circle :icon="asyncIcon" />
</div>
</template>
<script lang="ts" setup>
import { computedAsync } from '@vueuse/core'
import { getAsyncIcon, Star, StarFill } from '@rappel-ui/svg-icons'
// use getAsyncIcon method to load icon by icon name
const asyncIcon = computedAsync(async () => await getAsyncIcon('search'))
</script>
Documentation
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.0.25 | MIT | |
| 1.0.24 | MIT | |
| 1.0.23 | MIT | |
| 1.0.22 | MIT | |
| 1.0.21 | MIT | |
| 1.0.20 | MIT | |
| 1.0.19 | MIT | |
| 1.0.18 | MIT | |
| 1.0.17 | MIT | |
| 1.0.15 | MIT | |
| 1.0.14 | MIT | |
| 1.0.13 | MIT | |
| 1.0.12 | MIT | |
| 1.0.11 | MIT | |
| 1.0.10 | MIT | |
| 1.0.9 | MIT | |
| 1.0.8 | MIT | |
| 1.0.7 | MIT | |
| 1.0.6 | MIT | |
| 1.0.5 | MIT | |
| 1.0.4 | MIT | |
| 1.0.3 | MIT |