### File

`packages/components/eui-avatar/avatar-text/avatar-text.component.ts`

### Description

Component for displaying text content within an avatar. This component serves as a container for text that appears inside an avatar, such as initials or short text identifiers.

The component applies the 'eui-avatar-text' class to provide appropriate styling for text displayed within an avatar context. It uses content projection to allow any text content to be displayed inside.

### Metadata

selector | `eui-avatar-text`

template

    <ng-content/>

styleUrl | `./avatar-text.scss`

### Index

###### Properties

- string

###### HostBindings

- class

### HostBindings

class
Type : `string`
Default value : `'eui-avatar-text'`
Binds the CSS class 'eui-avatar-text' to the host element. This class provides the styling necessary for text content within an avatar.

### Properties

string
Type : `string`
Default value : `'eui-avatar-text'`
Decorators : `@HostBinding('class')`
Binds the CSS class 'eui-avatar-text' to the host element. This class provides the styling necessary for text content within an avatar.

# results matching ""

# No results matching ""