6.0.10 • Published 2 months ago
@acpaas-ui/ngx-avatar v6.0.10
@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
Name | Default value | Description |
---|---|---|
@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; | false | renders the avatar in a round container |
@Input() letter: string; | - | Renders a string (letter). |
@Input() size: sizes; | sizes.R | The 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.
6.0.10
2 months ago
6.0.9
2 months ago
6.0.6
4 months ago
6.0.5
4 months ago
6.0.3
9 months ago
6.0.2
9 months ago
6.0.4
8 months ago
6.0.0
11 months ago
6.0.0-beta.0
1 year ago
7.0.0-beta.1
1 year ago
5.0.1
3 years ago
5.0.0
3 years ago
4.6.1
3 years ago
4.6.0
3 years ago
4.0.0
4 years ago
4.0.0-rc.10
4 years ago
4.0.0-rc.7
4 years ago
4.0.0-rc.6
4 years ago
4.0.0-rc.9
4 years ago
4.0.0-rc.8
4 years ago
4.0.0-rc.2
4 years ago
4.0.0-rc.1
4 years ago