Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@acpaas-ui/ngx-avatar

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acpaas-ui/ngx-avatar

This module renders a picture, an icon or a letter in the form of an avatar.

  • 6.1.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@acpaas-ui/ngx-avatar

This module renders a picture, an icon or a letter in the form of an avatar.

Usage

import { AvatarModule } from '@acpaas-ui/ngx-avatar';

Documentation

Visit our documentation site for full how-to docs and guidelines

Avatar module

API
NameDefault valueDescription
@Input() className: string;''A custom classname to add to the avatar.
@Input() icon: string;-CSS class for rendering a Streamline icon.
@Input() image: string;-URL to image src, renders an image.
@Input() rounded: boolean;falserenders the avatar in a round container
@Input() letter: string;-Renders a string (letter).
@Input() size: sizes;sizes.RThe size of the avatar. This can be sizes.R) (regular, default, sizes.S (small), sizes.M (medium) or sizes.L (large)
@Input() title: string;''The title for the avatar.
Example
import { AvatarModule } from '@acpaas-ui/ngx-avatar';

@NgModule({
    imports: [
        AvatarModule
    ]
});

export class AppModule {};
<aui-avatar image="https://robohash.org/antwerp-ui" title="My image"></aui-avatar>
<aui-avatar icon="ai-alarm-bell" size="L" title="An alarm bell icon"></aui-avatar>
<aui-avatar letter="T" title="The letter T" size="S"></aui-avatar>

Contributing

Visit our Contribution Guidelines for more information on how to contribute.

FAQs

Package last updated on 21 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc