vuemail Home
Vuemail Logo

The next generation of writing emails

Vuemail is a next-generation collection of unstyled components for creating beautiful emails using Vue, Tailwind, and TypeScript.
Explore components

Style with any tools

Make your emails look beautiful with Tailwind or inline CSS.
email-template.vue
<script setup lang="ts">
import { Body, Button, Container, Head, Heading, Html, Img, Preview, Section, Tailwind, Text } from '@vuemaildev/vuemail';
interface WelcomeEmailProps {
username?: string;
company?: string;
}
const { username = 'Nicole', company = 'Helix' } =
defineProps<WelcomeEmailProps>();
const previewText = `Welcome to ${company}, ${username}!`;
</script>
<template>
<Html>
<Head />
<Preview>{{ previewText }}</Preview>
<Tailwind>
<Body class="bg-black m-auto font-sans">
<Container class="mb-10 mx-auto p-5 max-w-[465px]">
<Section class="mt-10">
<Img
src="https://example.com/brand/example-logo.png"
width="60"
height="60"
alt="Logo Example"
class="my-0 mx-auto"
/>
</Section>
<Heading class="text-2xl text-white font-normal text-center p-0 my-8 mx-0">
Welcome to <strong>{{ company }}</strong>, {{ username }}!
</Heading>
<Text class="text-start text-sm text-white">
Hello {{ username }},
</Text>
<Text class="text-start text-sm text-white leading-relaxed">
We're excited to have you onboard at <strong>{{ company }}</strong>.
We hope you enjoy your journey with us. If you have any questions
or need assistance, feel free to reach out.
</Text>
<Section class="text-center mt-[32px] mb-[32px]">
<Button
class="py-2.5 px-5 bg-white rounded-md text-black text-sm font-semibold no-underline text-center"
href="https://example.com/get-started"
>
Get Started
</Button>
</Section>
<Text class="text-start text-sm text-white">
Cheers,
<br />
The {{ company }} Team
</Text>
</Container>
</Body>
</Tailwind>
</Html>
</template>

Build with any AI

Describe the email you want. Your agent builds it with Vuemail.
npx skills add psycarlo/vuemail
Docs for LLMs

Everything React Email does for React, from the components to the preview server and the editor, ported one to one to Vue.

A port of React Email By Resend, MIT licensed

Battle-tested Primitives

All components are tested on the most popular email clients.
Gmail
Apple Mail
Outlook
Yahoo! Mail
HEY
Superhuman

Built-in deliverability tools

Before you hit “send”, check how your email is doing with a set of tools to help you build better emails.
fetch attempt
There was a redirect, the content may have been moved https://amazon.com
fetch attempt
There was a redirect, the content may have been moved https://amazon.com
Linter

Add an email editor
to your product

Let your users write beautiful emails without leaving your product.

Integrate with any service

Convert your Vue code into HTML or Plain Text and send it with any email service provider.
A Vue port of React Email, released under the MIT License.