Button

A link styled as a button for emails, with the same colors, variants and sizes as the web Button, drawn the same way in every mail client.

Variants

Set variant to solid, outlined, filled, text or link to choose how much paint a button uses, from the main call to action down to a plain link.

Colors

Set color to default, primary or danger, and each color works with every variant.

Size

Set size to small, medium or large, with medium as the default.

Shape

Set shape to round for a pill, or to circle with an icon and no label for a round icon button.

Block

Set block to make a button fill the width of its container, like the actions in a password reset email.

With icon

Pass an icon role to draw a glyph beside the label, and iconPlacement="end" to put it after the text.