Skip to Content

Avatar

An image element with a fallback for representing the user.

Installation

Install the package

npm install @abbyyproduct/ui

Import the component

import { Avatar, AvatarImage, AvatarFallback, } from '@abbyyproduct/ui/components/avatar';

Use the component

<Avatar> <AvatarImage src="https://github.com/shadcn.png" /> <AvatarFallback>CN</AvatarFallback> </Avatar>

Usage

import { Avatar, AvatarImage, AvatarFallback, } from '@abbyyproduct/ui/components/avatar';
<Avatar> <AvatarImage src="https://github.com/shadcn.png" /> <AvatarFallback>CN</AvatarFallback> </Avatar>

Examples

Default

CN

Changelog

2024-12-27 Example

This is an example of a changelog entry.

MyApp.tsx
import React from 'react'; function MyApp() { return <div>My App</div>; } export default MyApp;
Last updated on