Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vercel/avatar

💎 Beautiful avatars as a microservice
https://github.com/vercel/avatar

avatar avatar-placeholder beautiful-avatars random-avatars svg-avatar vercel

Last synced: about 1 month ago
JSON representation

💎 Beautiful avatars as a microservice

Awesome Lists containing this project

README

        

# avatar ![](https://avatar.vercel.sh/rauchg?size=20) ![](https://avatar.vercel.sh/leerob?size=20) ![](https://avatar.vercel.sh/vercel?size=20) ![](https://avatar.vercel.sh/party?size=20) ![](https://avatar.vercel.sh/edge?size=20)

Generate beautiful gradient avatars for your application.

## Usage

Provide a username to generate an avatar. Each name will generate a unique `avatar`. Just replace `rauchg` with an `username` or `email`:

```
https://avatar.vercel.sh/rauchg
```

You will receive a `png` image with a size of 120\*120px

![Avatar for rauchg](https://avatar.vercel.sh/rauchg)

### Custom Size

```
https://avatar.vercel.sh/rauchg?size=30
```

![Avatar for rauchg](https://avatar.vercel.sh/rauchg?size=30)

### SVG

Add the extension `.svg`:

```
https://avatar.vercel.sh/rauchg.svg
```

### Add Initials

Add the `text` parameter (requires SVG):

```
https://avatar.vercel.sh/rauchg.svg?text=GR
```

![Avatar for rauchg](https://avatar.vercel.sh/rauchg.svg?text=GR)