@gits-id/avatar
v1.0.0-beta.4
Published
Avatar Component
Downloads
27
Readme
Avatar Component
Installation
npm
npm i @gits-id/avatar
yarn
yarn add @gits-id/avatar
pnpm
pnpm i @gits-id/avatar
Usage
<script setup lang="ts">
// import component
import Avatar from '@gits-id/avatar';
// import style
import '@gits-id/avatar/dist/style.css';
</script>
<template>
<Avatar color="primary" name="John Doe" />
<Avatar color="primary" src="path-to-image.png" />
</template>
Documentation
View full documentation here.
License
MIT