Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/halilatilla/getea

If you need a random fancy avatar or some kind of icon, check this out!
https://github.com/halilatilla/getea

avatar avatar-generator avatar-placeholder chromatic placeholder-avatars profile-picture react storybook svg svgr

Last synced: about 2 months ago
JSON representation

If you need a random fancy avatar or some kind of icon, check this out!

Awesome Lists containing this project

README

        

![npm](https://img.shields.io/npm/v/getea?label=npm) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/halilatilla/getea?label=code%20size)
[![GitHub license](https://img.shields.io/github/license/halilatilla/getea?label=license)](https://github.com/halilatilla/getea/blob/main/LICENSE)

# Get Empty Avatar [Live Demo](https://623f3bfd0693ca003a65bbce-ibzuupnjss.chromatic.com/)

### **Create unique, stylish avatars or icons effortlessly!**

![ezgif com-gif-maker](https://user-images.githubusercontent.com/27916419/160250550-5c5c5e92-6326-47ff-a090-92ac9cc974a9.gif)


## **📦 Installation**

Install **`getea`** using npm:

```
npm install getea
```

Alternatively, use yarn:

```
yarn add getea
```

## **📚 Usage**

### **React**

```
import { GetFancyAvatar } from 'getea';

function App() {
return ;
}
```


## **⚙️ Props List**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| size | number | 72 | Sets the size of the avatar. |
| bgColor | string | "#E5E5E5" | Sets the background color of the avatar. |
| border | Array | {size: 2, color: "#eeeeee", radius: 50, style: 'solid'} | Configures the border properties of the avatar. |


## **🚀 Development**

We warmly welcome and appreciate pull requests. Choose an issue and help us improve!

To install and work on **`getea`** locally, follow these steps:

1. Clone the repository:

```
git clone https://github.com/halilatilla/getea.git
```

2. Navigate to the project directory:

```
cd getea
```
3. Install dependencies:

```
npm install
```
4. Start the development server:

```
yarn start
# or
npm start
```

The development server can be accessed at **[http://localhost:3000/](http://localhost:3000/)**.

5. Launch Storybook:

```
yarn storybook
# or
npm run storybook
```

Storybook will be available at **[http://localhost:6006/](http://localhost:6006/)**.


## **✍️ Authors**

- **[@halilatilla](https://github.com/halilatilla)**


## **📄 License**

This project is licensed under the MIT License.