undraw-vue
v1.0.3
Published
Undraw illustration library for Vue 3
Readme
Undraw illustrations for Vue 3
Usage
<script setup lang="ts">
import { UndrawIllustration } from 'undraw-vue';
</script>
<template>
<UndrawIllustration
name="Done"
size="15rem"
color="var(--primary-color)"
/>
</template>Properties
| Name | Required | Default | Description |
|---------|----------|-----------|---------------------------------------------|
| name | yes | - | Illustration name (see Illustration type) |
| size | no | 100% | Illustration size (height) |
| color | no | #6D07E8 | Illustration accent color |
| style | no | - | Illustration CSS styles |
Supported illustrations
Please check https://github.com/aresofficial/undraw-vue/blob/main/src/types/Illustration.ts
