packages/eui/packages/components/eui-avatar/avatar-text/avatar-text.component.ts
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.
selector | eui-avatar-text |
template |
|
styleUrl | ./avatar-text.scss |
Properties |
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. |
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. |