Skip to content
appsgit

Elements

Elements is a free, open-source email template collection built with React, Next.js and HTML. React components for transactional emails, landing pages, invoices and PDFs: email-safe HTML, responsive web HTML, and print-ready PDF HTML from one component tree. It has 414 GitHub stars and is released under the MIT license.

github.com/unlayer/elements (opens in a new tab)

Get started

Copy the files into a new folder with degit (no git history), or clone the repository with git.

Copy with degit
npx degit unlayer/elements my-emails
cd my-emails
npm install   # then run the dev script from the README
Or clone with git
git clone --depth 1 https://github.com/unlayer/elements.git my-emails

Sources: GitHub docs on template repositories, degit.

About Elements

Write once in React. Render emails, web pages, and PDFs from the same component tree. Unlayer Elements is an open-source React component library for transactional emails, email templates, landing pages, invoices, reports, documents, and PDFs. Build content once and render it across three output modes:

Built with

  • React
  • Next.js
  • HTML
  • TypeScript
GitHub preview card for unlayer/elements
GitHub social preview of unlayer/elements. Open the live demo for the real design.

FAQ

Elements FAQ

Still curious? Email info@appsgit.com.

What is Elements?

Elements is a free, open-source email template collection built with React, Next.js and HTML. React components for transactional emails, landing pages, invoices and PDFs: email-safe HTML, responsive web HTML, and print-ready PDF HTML from one component tree. It has 414 GitHub stars and is released under the MIT license.

How do I use Elements?

Copy the files into a new folder with npx degit unlayer/elements my-emails (no git history), or fork the repository on GitHub. Then follow the README for the install and dev commands.

Can I use Elements for commercial projects?

Yes. Elements is released under the MIT license, a permissive license that allows commercial use as long as you keep the copyright and license notice. Third-party assets bundled with it (images, fonts, icons) may have their own terms.

Is Elements maintained?

The repository's most recent commit was on Oct 4, 2026. Its latest release is v0.1.22. appsgit only lists templates from repositories with a commit in the last six months.