@inventage-web-components/avatar-image
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

@inventage-web-components/avatar-image

An avatar image based on user initials.

Published on npm License Release Bundle Size

Quick Start

Use unpkg.com to get a simple example running in a single HTML file:

<script type="module" src="https://unpkg.com/@inventage-web-components/avatar-image/lib/src/avatar-image.js?module"></script>

<avatar-image input="John Doe"></avatar-image>

Here's an example of this method to get you started.

Installation

npm i @inventage-web-components/avatar-image

Usage

<!--
  Adjust path to node_modules and use a dev server that support Node module
  resolution, like Web Dev server: https://www.npmjs.com/package/@web/dev-server
-->
<script
  type="module"
  src="/node_modules/@inventage-web-components/avatar-image/lib/src/avatar-image.js"
</script>

<avatar-image input="John Doe"></avatar-image>

Documentation

The API documentation as well as interactive examples can be found in the Storybook examples.

Package Sidebar

Install

npm i @inventage-web-components/avatar-image

Weekly Downloads

3

Version

0.1.2

License

MIT

Unpacked Size

29.4 kB

Total Files

20

Last publish

Collaborators

  • peschee