@ipscape/ips-avatar

An avatar component

Usage no npm install needed!

<script type="module">
  import ipscapeIpsAvatar from 'https://cdn.skypack.dev/@ipscape/ips-avatar';
</script>

README

ips-avatar

tested with jest jest

The <ips-avatar> provides an avatar component.

Live demo

See Storybook

Getting started

Install the component library:

npm install @ipscape/ips-avatar

or

yarn add @ipscape/ips-avatar

Add the component to your app:

import Vue from 'vue';
import IpsAvatar from '@ipscape/ips-avatar';
import '@ipscape/ips-avatar/dist/ips-avatar.css';

Vue.component(IpsAvatar.name, IpsAvatar);

Use a component in your application:

<template>
  <ips-avatar image-src="imageSrc" size="md">IP</ips-avatar>
  <template></template
></template>

License

License: GPL v2 License: GPL v3

Made with ❤ by ipSCAPE

Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md file.