@ngx-tc/avatar
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

About

@ngx-tc/avatar is an Angular library that provides developers with an easy and customizable way to display avatars in their applications. The library includes a range of pre-built avatar templates, which can be easily customized to suit the specific needs of your application. These templates include standard avatar shapes, such as circles and squares, as well as customizable options for size, color, and image source.

Usage

Install @ngx-tc/avatar in your project:

npm install @ngx-tc/avatar

Import TcAvatarModule e.g. in your app.module.ts:

import { TcAvatarModule } from '@ngx-tc/avatar';

@NgModule({
  imports: [
    ...
    TcAvatarModule
  ],
})
export class AppModule {}

Use the tc-avatar component in you app:

<tc-avatar [src]="'image source'"></tc-avatar>
<tc-avatar [initials]="'JD'"></tc-avatar>

Demo

To view a working demo of the library in action, please follow the provided link. The demo will allow you to explore the various components and features included in this library and see how they can be used in your Angular applications. http://tc-library.type-code.pro/#/components/avatars

Package Sidebar

Install

npm i @ngx-tc/avatar

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

83.2 kB

Total Files

15

Last publish

Collaborators

  • type0code