@hudoro/avatar
v0.0.1-beta.3
Published
avatar component for Hudoro UI
Downloads
22
Readme
Hudoro Avatar
Hudoro Avatar is a strict and customizable Avatar component for web development projects, designed for simplicity and adherence to strict design guidelines.
Package instalation
Instal package using pnpm
pnpm add @hudoro/avatar
Instal package using yarn
yarn add @hudoro/avatar
Instal package using npm
npm i @hudoro/avatar
Usage/Examples (you can combine using icon package hudoro)
import React from "react";
import {Avatar} from "@hudoro/avatar";
import ReactDOM from "react-dom/client";
const App = () => (
<div>
<h1>Component test</h1>
<Avatar size="md" />
</div>
);
ReactDOM.createRoot(document.getElementById("app")!).render(<App />);
Props @hudoro/accordion
Props that you can pass to <Avatar {...props}>
| Prop Name | Value | required | | :-------- | :------------------------ | :------- | | size | "xs" / "sm" / "md" / "lg" | false |