Elements
Unlayer Elements is now Hyper Elements, a free, open-source React library for writing emails, web pages, documents, PDFs, and images in code. It's built by the team behind Unlayer, and its docs and releases now live on its own site.
hyper-elements/hyper-elements is open sourceGet started
npm install @hyper-elements/react
- Quickstart: write and render your first template.
- Documentation: elements, styles, rendering, and every output.
- Visual editing: open a template in the Unlayer builder.
Coding agents can install its skill with npx skills add hyper-elements/hyper-elements. See AI agents.
Already using @unlayer/react-elements?
Hyper Elements has new elements, so templates written with @unlayer/react-elements have to move. A codemod rewrites them and keeps your props, loops, and helpers:
npx @hyper-elements/migrate src/emails --from unlayer-elements
It lists what it would change, and --write replaces the files. See From Unlayer Elements for the details.
Nothing changes until you move: @unlayer/react-elements stays on npm, and your existing templates keep working with it.
Coming from React Email?
The same tool converts React Email templates and checks each one against its original. See From React Email.