<!-- INCORRECT --><mds-entity src="/avatars/mario-rossi.png"> Mario Rossi</mds-entity>
<!-- CORRECT --><mds-entity src="/avatars/mario-rossi.png"> <mds-text truncate="word" typography="h6">Mario Rossi</mds-text></mds-entity><!-- INCORRECT --><mds-entity await="false" src="/avatars/mario-rossi.png"> <mds-text truncate="word" typography="h6">Mario Rossi</mds-text></mds-entity>
<!-- CORRECT --><mds-entity src="/avatars/mario-rossi.png"> <mds-text truncate="word" typography="h6">Mario Rossi</mds-text></mds-entity><!-- INCORRECT --><mds-entity src="/avatars/mario-rossi.png"> <mds-text truncate="word" typography="h6">Mario Rossi</mds-text> <button slot="action">Modifica</button></mds-entity>
<!-- CORRECT --><mds-entity src="/avatars/mario-rossi.png"> <mds-text truncate="word" typography="h6">Mario Rossi</mds-text> <mds-button slot="action" icon="mdi/pencil" variant="primary" tone="strong" title="Modifica"></mds-button></mds-entity><!-- INCORRECT (expects image, icon, and initials to all appear) --><mds-entity src="/avatars/mario-rossi.png" icon="mi/baseline/person" initials="mr"> <mds-text truncate="word" typography="h6">Mario Rossi</mds-text></mds-entity>
<!-- CORRECT - provide the most specific source available --><mds-entity src="/avatars/mario-rossi.png"> <mds-text truncate="word" typography="h6">Mario Rossi</mds-text></mds-entity><!-- INCORRECT --><mds-entity icon="mi/baseline/business" variant="primary" tone="outline"> <mds-text truncate="word" typography="h6">Divisione Commerciale</mds-text></mds-entity>
<!-- CORRECT --><mds-entity icon="mi/baseline/business" variant="primary" tone="strong"> <mds-text truncate="word" typography="h6">Divisione Commerciale</mds-text></mds-entity>/* INCORRECT */mds-entity::part(avatar) .inner-circle { background: hotpink;}mds-entity >>> mds-avatar { width: 80px;}
/* CORRECT */mds-entity { --mds-entity-icon-background: rgb(var(--magma-accent-surface-hover)); --mds-entity-icon-color: rgb(var(--magma-accent-fg));}