<mjml>
<mj-head>
<mj-style>
body {
background-color: #F9FAFB;
padding: 24px;
}
</mj-style>
</mj-head>
<mj-body>
<mj-wrapper full-width="full-width" padding="0 24px" background-color="#FFFFFF">
<mj-section padding="24px 0 24px 0">
<mj-column width="100%" padding="0">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<mj-column width="100%" padding="16px 0 16px 0">
<mj-divider border-width="1px" border-color="#E8E8E8" padding="0" />
</mj-column>
<mj-column width="100%" padding="0">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<mj-column width="100%" padding="16px 0 16px 0">
<mj-divider border-width="1px" border-color="#E8E8E8" padding="0" />
</mj-column>
<mj-column width="100%" padding="0">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<mj-column width="100%" padding="16px 0 16px 0">
<mj-divider border-width="1px" border-color="#E8E8E8" padding="0" />
</mj-column>
<mj-column width="100%" padding="0">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
</mj-section>
</mj-wrapper>
</mj-body>
</mjml>import { Mjml, MjmlBody, MjmlButton, MjmlColumn, MjmlDivider, MjmlHead, MjmlSection, MjmlStyle, MjmlWrapper } from '@faire/mjml-react';
function Example() {
return (
<Mjml>
<MjmlHead>
<MjmlStyle>
{`
body {
background-color: #F9FAFB;
padding: 24px;
}
`}
</MjmlStyle>
</MjmlHead>
<MjmlBody>
<MjmlWrapper fullWidth padding="0 24px" backgroundColor="#FFFFFF">
<MjmlSection padding="24px 0 24px 0">
<MjmlColumn width="100%" padding="0">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
<MjmlColumn width="100%" padding="16px 0 16px 0">
<MjmlDivider borderWidth="1px" borderColor="#E8E8E8" padding="0" />
</MjmlColumn>
<MjmlColumn width="100%" padding="0">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
<MjmlColumn width="100%" padding="16px 0 16px 0">
<MjmlDivider borderWidth="1px" borderColor="#E8E8E8" padding="0" />
</MjmlColumn>
<MjmlColumn width="100%" padding="0">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
<MjmlColumn width="100%" padding="16px 0 16px 0">
<MjmlDivider borderWidth="1px" borderColor="#E8E8E8" padding="0" />
</MjmlColumn>
<MjmlColumn width="100%" padding="0">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
</MjmlSection>
</MjmlWrapper>
</MjmlBody>
</Mjml>
);
}
export default Example;
<mjml>
<mj-head>
<mj-style>
body {
background-color: #F9FAFB;
padding: 24px;
}
</mj-style>
</mj-head>
<mj-body>
<mj-wrapper background-color="#FFFFFF" border-radius="6px" padding="0">
<mj-section padding="24px 0 24px 0">
<mj-column width="100%" padding="0 24px 0 24px">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<mj-column width="100%" padding="16px 0 16px 0">
<mj-divider border-width="1px" border-color="#E8E8E8" padding="0" />
</mj-column>
<mj-column width="100%" padding="0 24px 0 24px">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<mj-column width="100%" padding="16px 0 16px 0">
<mj-divider border-width="1px" border-color="#E8E8E8" padding="0" />
</mj-column>
<mj-column width="100%" padding="0 24px 0 24px">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<mj-column width="100%" padding="16px 0 16px 0">
<mj-divider border-width="1px" border-color="#E8E8E8" padding="0" />
</mj-column>
<mj-column width="100%" padding="0 24px 0 24px">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
</mj-section>
</mj-wrapper>
</mj-body>
</mjml>import { Mjml, MjmlBody, MjmlButton, MjmlColumn, MjmlDivider, MjmlHead, MjmlSection, MjmlStyle, MjmlWrapper } from '@faire/mjml-react';
function Example() {
return (
<Mjml>
<MjmlHead>
<MjmlStyle>
{`
body {
background-color: #F9FAFB;
padding: 24px;
}
`}
</MjmlStyle>
</MjmlHead>
<MjmlBody>
<MjmlWrapper backgroundColor="#FFFFFF" borderRadius="6px" padding="0">
<MjmlSection padding="24px 0 24px 0">
<MjmlColumn width="100%" padding="0 24px 0 24px">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
<MjmlColumn width="100%" padding="16px 0 16px 0">
<MjmlDivider borderWidth="1px" borderColor="#E8E8E8" padding="0" />
</MjmlColumn>
<MjmlColumn width="100%" padding="0 24px 0 24px">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
<MjmlColumn width="100%" padding="16px 0 16px 0">
<MjmlDivider borderWidth="1px" borderColor="#E8E8E8" padding="0" />
</MjmlColumn>
<MjmlColumn width="100%" padding="0 24px 0 24px">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
<MjmlColumn width="100%" padding="16px 0 16px 0">
<MjmlDivider borderWidth="1px" borderColor="#E8E8E8" padding="0" />
</MjmlColumn>
<MjmlColumn width="100%" padding="0 24px 0 24px">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
</MjmlSection>
</MjmlWrapper>
</MjmlBody>
</Mjml>
);
}
export default Example;
<mjml>
<mj-head>
<mj-style>
body {
background-color: #F9FAFB;
padding: 24px;
}
</mj-style>
</mj-head>
<mj-body>
<mj-wrapper padding="0">
<mj-section padding="0 0 16px 0">
<mj-column width="49%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<!--
In order two put some space between the two columns we add another column with a spacer inside.
The columns width sets size of the space on mobile, while the spacers height sets it on mobile.
-->
<mj-column width="2%">
<mj-spacer height="16px" container-background-color="#F9FAFB" padding="0" />
</mj-column>
<mj-column width="49%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
</mj-section>
<mj-section padding="0 0 16px 0">
<mj-column width="49%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<!--
In order two put some space between the two columns we add another column with a spacer inside.
The columns width sets size of the space on mobile, while the spacers height sets it on mobile.
-->
<mj-column width="2%">
<mj-spacer height="16px" container-background-color="#F9FAFB" padding="0" />
</mj-column>
<mj-column width="49%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
</mj-section>
<mj-section padding="0 0 16px 0">
<mj-column width="49%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<!--
In order two put some space between the two columns we add another column with a spacer inside.
The columns width sets size of the space on mobile, while the spacers height sets it on mobile.
-->
<mj-column width="2%">
<mj-spacer height="16px" container-background-color="#F9FAFB" padding="0" />
</mj-column>
<mj-column width="49%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
</mj-section>
<mj-section padding="0 0 16px 0">
<mj-column width="49%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<!--
In order two put some space between the two columns we add another column with a spacer inside.
The columns width sets size of the space on mobile, while the spacers height sets it on mobile.
-->
<mj-column width="2%">
<mj-spacer height="16px" container-background-color="#F9FAFB" padding="0" />
</mj-column>
<mj-column width="49%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
</mj-section>
</mj-wrapper>
</mj-body>
</mjml>import { Mjml, MjmlBody, MjmlButton, MjmlColumn, MjmlHead, MjmlSection, MjmlSpacer, MjmlStyle, MjmlWrapper } from '@faire/mjml-react';
function Example() {
return (
<Mjml>
<MjmlHead>
<MjmlStyle>
{`
body {
background-color: #F9FAFB;
padding: 24px;
}
`}
</MjmlStyle>
</MjmlHead>
<MjmlBody>
<MjmlWrapper padding="0">
<MjmlSection padding="0 0 16px 0">
<MjmlColumn width="49%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
{/*
In order two put some space between the two columns we add another column with a spacer inside.
The columns width sets size of the space on mobile, while the spacers height sets it on mobile.
*/}
<MjmlColumn width="2%">
<MjmlSpacer height="16px" containerBackgroundColor="#F9FAFB" padding="0" />
</MjmlColumn>
<MjmlColumn width="49%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
</MjmlSection>
<MjmlSection padding="0 0 16px 0">
<MjmlColumn width="49%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
{/*
In order two put some space between the two columns we add another column with a spacer inside.
The columns width sets size of the space on mobile, while the spacers height sets it on mobile.
*/}
<MjmlColumn width="2%">
<MjmlSpacer height="16px" containerBackgroundColor="#F9FAFB" padding="0" />
</MjmlColumn>
<MjmlColumn width="49%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
</MjmlSection>
<MjmlSection padding="0 0 16px 0">
<MjmlColumn width="49%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
{/*
In order two put some space between the two columns we add another column with a spacer inside.
The columns width sets size of the space on mobile, while the spacers height sets it on mobile.
*/}
<MjmlColumn width="2%">
<MjmlSpacer height="16px" containerBackgroundColor="#F9FAFB" padding="0" />
</MjmlColumn>
<MjmlColumn width="49%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
</MjmlSection>
<MjmlSection padding="0 0 16px 0">
<MjmlColumn width="49%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
{/*
In order two put some space between the two columns we add another column with a spacer inside.
The columns width sets size of the space on mobile, while the spacers height sets it on mobile.
*/}
<MjmlColumn width="2%">
<MjmlSpacer height="16px" containerBackgroundColor="#F9FAFB" padding="0" />
</MjmlColumn>
<MjmlColumn width="49%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
</MjmlSection>
</MjmlWrapper>
</MjmlBody>
</Mjml>
);
}
export default Example;
<mjml>
<mj-head>
<mj-style>
body {
background-color: #F9FAFB;
padding: 24px;
}
</mj-style>
</mj-head>
<mj-body>
<mj-wrapper padding="0">
<mj-section padding="0">
<mj-column width="100%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<mj-column width="100%" padding="0">
<mj-spacer height="16px" container-background-color="#F9FAFB" padding="0" />
</mj-column>
<mj-column width="100%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<mj-column width="100%" padding="0">
<mj-spacer height="16px" container-background-color="#F9FAFB" padding="0" />
</mj-column>
<mj-column width="100%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
<mj-column width="100%" padding="0">
<mj-spacer height="16px" container-background-color="#F9FAFB" padding="0" />
</mj-column>
<mj-column width="100%" padding="12px" border-radius="6px" background-color="#FFFFFF">
<mj-button width="100%" height="48px" padding="0" background-color="#FFFFFF" border-radius="6px" border="2px dashed #E8E8E8" />
</mj-column>
</mj-section>
</mj-wrapper>
</mj-body>
</mjml>import { Mjml, MjmlBody, MjmlButton, MjmlColumn, MjmlHead, MjmlSection, MjmlSpacer, MjmlStyle, MjmlWrapper } from '@faire/mjml-react';
function Example() {
return (
<Mjml>
<MjmlHead>
<MjmlStyle>
{`
body {
background-color: #F9FAFB;
padding: 24px;
}
`}
</MjmlStyle>
</MjmlHead>
<MjmlBody>
<MjmlWrapper padding="0">
<MjmlSection padding="0">
<MjmlColumn width="100%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
<MjmlColumn width="100%" padding="0">
<MjmlSpacer height="16px" containerBackgroundColor="#F9FAFB" padding="0" />
</MjmlColumn>
<MjmlColumn width="100%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
<MjmlColumn width="100%" padding="0">
<MjmlSpacer height="16px" containerBackgroundColor="#F9FAFB" padding="0" />
</MjmlColumn>
<MjmlColumn width="100%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
<MjmlColumn width="100%" padding="0">
<MjmlSpacer height="16px" containerBackgroundColor="#F9FAFB" padding="0" />
</MjmlColumn>
<MjmlColumn width="100%" padding="12px" borderRadius="6px" backgroundColor="#FFFFFF">
<MjmlButton width="100%" height="48px" padding="0" backgroundColor="#FFFFFF" borderRadius="6px" border="2px dashed #E8E8E8" />
</MjmlColumn>
</MjmlSection>
</MjmlWrapper>
</MjmlBody>
</Mjml>
);
}
export default Example;