npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pagenflow/email

v1.4.5

Published

Free Email Compatible Components

Readme

Builder Introduction

The bridge between visual email building and high-performance React code.

@pagenflow/email is a collection of high-quality, pre-tested React components designed to build beautiful, responsive emails. Built for 100% compatibility with React Email, our package allows you to take designs from the Pagenflow Visual Builder and drop them directly into your codebase.


🚀 Why Pagenflow?

Email development shouldn't feel like it’s stuck in 1999. While react-email revolutionized the "code-first" approach, Pagenflow bridges the gap for teams that want both visual speed and developer-grade code.

  • Drag, Drop, and Develop: Design visually at email.pagenflow.com and export clean, semantic React code.
  • React Email Compatible: Every component in this package works seamlessly with @react-email/render and the React Email preview server.
  • Prop-Driven Configuration: Instead of messy inline styles, we use a structured config prop to manage all styling and layout logic.

📦 Installation

npm install @pagenflow/email
# or
yarn add @pagenflow/email

🧩 Components Reference

Pagenflow components use a consistent config prop pattern to handle styling and behavior.

Layout & Structure

  • Html: The root wrapper. Accepts a backgroundColor prop to set the global email background.
  • Head: Manages metadata, titles, and critical MSO reset styles for Outlook.
  • Body: The main content area. Uses a config prop for global colors, font sizes, and background images.
  • Section: A structural block used to group content vertically.
  • Container: A centered wrapper with sophisticated layout controls including widthType, gap, and child width distributions (equals, ratio, manual).
  • **Row & Column**: Our powerful grid system. Row handles horizontal spacing and alignment, while Column manages internal padding and vertical alignment through their respective config objects.

Content & UI

  • Heading: Semantic tags (h1-h6) with a config prop for fine-tuning padding, typography, and text-alignment.
  • Text: The workhorse for paragraphs. Supports line-height, letter-spacing, and custom typography through its config.
  • Image: Responsive images with config support for maxWidth, borderRadius, and clickable href links.
  • Button: High-conversion CTA buttons with built-in VML support for Outlook. Configurable backgroundColor, borderRadius, and padding.
  • Divider: A customizable horizontal rule with config for height, color, and vertical margins.
  • Spacer: Fine-tuned vertical control to create exactly the right amount of breathing room.

🛠 Usage Example

Notice that all styling and layout properties are passed through the config prop.

import { 
  Html, Head, Body, Container, Section, 
  Heading, Button, Image 
} from '@pagenflow/email';

export default function WelcomeEmail() {
  return (
    <Html backgroundColor="#f6f9fc">
      <Head title="Welcome to Pagenflow" />
      <Body config={{ color: '#333333', fontSize: '16px' }}>
        <Container config={{ 
          widthType: 'fixed', 
          width: '600px',
          childrenConstraints: { widthDistributionType: 'equals' }
        }}>
          <Section>
            <Image config={{
              src: "https://example.com/logo.png",
              alt: "Pagenflow Logo",
              width: "150px",
              padding: "20px 0"
            }} />
            
            <Heading config={{ 
              level: 'h1', 
              textAlign: 'center',
              text: 'Welcome aboard!' 
            }} />
            
            <Button config={{ 
              href: "https://email.pagenflow.com",
              backgroundColor: "#007bff",
              color: "#ffffff",
              padding: "12px 24px",
              borderRadius: "4px"
            }}>
              Get Started
            </Button>
          </Section>
        </Container>
      </Body>
    </Html>
  );
}

🎨 Visual Builder

Stop guessing how your padding looks. Use our Visual Email Editor to build your templates:

👉 Launch the Pagenflow Builder

  1. Drag components onto the canvas.
  2. Customize styles with the sidebar.
  3. Copy the React code and paste it into your project using this package.

📄 License

MIT © Pagenflow