New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@inkdes-email/box

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inkdes-email/box

A React email body content component to wrap emails (InkDes Mailer)

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@inkdes-email/box

Wrapper Box component for your email layout.

inkdes-logo

GitHub

Installation

# pnpm
pnpm add @inkdes-email/box

# npm
npm install @inkdes-email/box

# yarn
yarn add @inkdes-email/box

Quick start

import { Box } from "@inkdes-email/box";

export default function EmailTemplate() {
  return <>
      <Box 
        width='120px' 
        padding='10px 16px'
        center 
        borderRadius='10px'
        backgroundColor='#fff' 
        spacing='20px'
        backgroundImageUrl='https://example.com/image.png'
        >
          <Text>
      </Box>
  </>
}

Props

NameTypeRequiredDefaultDescription
childrenReact.ReactNodeYesContent of the email document
dir"ltr" | "rtl"NoComes from wrapping Html component's dir context prop which is ltrText direction
backgroundColorstringYes
styleReact.CSSPropertiesNo--
widthnumber or "100%"Nowidth of container
paddingstringNo10px 16pxinner padding
classNamestringno
borderRadiusstringNo
backgroundImageUrlstringnoBox background image
backgroundPositionstringno"bottom"when there is background image url this is css property for position
backgroundRepeatstringno"no-repeat, no-repeat"when there is background image url this is css property for repeat
itemCenterbooleannotrueInner items will be aligned center
centerbooleannotrueThe box will be positioned center of email
borderWidthnumberNoborder width
borderColorstringNoBorder will work if border width is greater than 0

License

MIT © iClasser

Keywords

react

FAQs

Package last updated on 03 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts