Get Empty Avatar Live Demo
Install getea
using npm:
npm install getea
Alternatively, use yarn:
yarn add getea
import { GetFancyAvatar } from 'getea';
function App() {
return <GetFancyAvatar />;
}
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. |
We warmly welcome and appreciate pull requests. Choose an issue and help us improve!
To install and work on getea
locally, follow these steps:
- Clone the repository:
git clone https://github.com/halilatilla/getea.git
- Navigate to the project directory:
cd getea
- Install dependencies:
npm install
- Start the development server:
yarn start
# or
npm start
The development server can be accessed at http://localhost:3000/.
- Launch Storybook:
yarn storybook
# or
npm run storybook
Storybook will be available at http://localhost:6006/.
This project is licensed under the MIT License.