@morpheme/avatar
v1.0.1
Published
Morpheme Avatar
Downloads
232
Maintainers
Readme
Morpheme Avatar
Morpheme Avatar.
Installation
npm
npm i @morpheme/avatar
yarn
yarn add @morpheme/avatar
pnpm
pnpm i @morpheme/avatar
Usage
<script setup lang="ts">
// import component
import Avatar from '@morpheme/avatar';
// import style
import '@morpheme/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