1.0.17 • Published 2 months ago

vue-nouns-blockie v1.0.17

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

vue-nouns-blockie

Vue package that generates custom nouns avatar for web3 addresses and strings. Easily integrate web3 avatars into your Vue projects with minimal setup.

Installation

npm install vue-nouns-blockie

or

yarn add vue-nouns-blockie

Usage

Import and use NounsBlockie in your Vue component:

<template>
  <div>
    <NounsBlockie :input="userAddress" />
  </div>
</template>

<script>
import { NounsBlockie } from 'vue-nouns-blockie';

export default {
  components: {
    NounsBlockie
  },
  data() {
    return {
      userAddress: '0x...'
    };
  }
}
</script>

Props

- input:String (required) - The web3 address or string to generate the avatar for.
- height?: string (optional) - required height for the image;
- width?:string (optional) - required height for the image;
- altText?: string (optional) - Alt text for the image;
- shape?: string (optional) - Type of avatar, "square" | "rounded" | "circle";

Keywords

  • Vue
  • Nouns
  • Avatar
  • Web3
  • Blockchain

License

MIT

1.0.17

2 months ago

1.0.16

2 months ago

1.0.15

2 months ago

1.0.14

2 months ago

1.0.13

2 months ago

1.0.12

2 months ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.11

2 months ago

1.0.10

2 months ago

1.0.7

3 months ago

1.0.6

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago