<!-- INCORRECT --><mds-entity icon="mi/baseline/person"> <mds-text typography="h6">Mario Rossi</mds-text></mds-entity><hr><mds-entity icon="mi/baseline/person"> <mds-text typography="h6">Luigi Verdi</mds-text></mds-entity>
<!-- CORRECT --><mds-entity icon="mi/baseline/person"> <mds-text typography="h6">Mario Rossi</mds-text></mds-entity><mds-separator></mds-separator><mds-entity icon="mi/baseline/person"> <mds-text typography="h6">Luigi Verdi</mds-text></mds-entity><!-- INCORRECT --><mds-separator>oppure</mds-separator>
<!-- CORRECT --><!-- Use a dedicated labeled-divider pattern with a flex row if a label is needed --><div class="flex items-center gap-300"> <mds-separator class="grow"></mds-separator> <mds-text typography="caption">oppure</mds-text> <mds-separator class="grow"></mds-separator></div>/* INCORRECT */mds-separator { --mds-separator-background: #cccccc;}
/* CORRECT */mds-separator { --mds-separator-background: rgb(var(--magma-border-muted));}/* INCORRECT */mds-separator >>> :host { height: 2px; border-radius: 0;}
/* CORRECT *//* Only --mds-separator-background is the supported override. Layout constraints such as height are not part of its styling API. */mds-separator { --mds-separator-background: rgb(var(--magma-accent-border));}<!-- INCORRECT --><mds-separator role="separator" aria-orientation="horizontal"></mds-separator>
<!-- CORRECT - decorative divider (no ARIA needed) --><mds-separator></mds-separator>