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

@inkdes-email/card

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inkdes-email/card

A React email card component to wrap emails (InkDes Mailer)

latest
Source
npmnpm
Version
0.1.6
Version published
Maintainers
1
Created
Source

@inkdes-email/card

Card component for email.

inkdes-logo

GitHub

Installation

# pnpm
pnpm add @inkdes-email/card

# npm
npm install @inkdes-email/card

# yarn
yarn add @inkdes-email/card

Quick start

import { Text } from "@inkdes-email/components";
import { Card } from "@inkdes-email/card";

export default function EmailTemplate() {
  return <>
      <Card 
        header={<Text>Some header</Text>}
        content={<Text>Some content</Text>}
        footer={<Text>Some footer</Text>}
        headerBackgroundColor='#fff'
        contentBackgroundColor='#fff'
        footerBackgroundColor='#fff'
        borderRadius='24px' 
        padding='12px 15px'
        width='100%'
        spacing='20px' 
     />
  </>
}

Props

NameTypeRequiredDefaultDescription
headerReact.ReactNodeNo
dir"ltr" | "rtl"NoComes from wrapping Html component's dir context prop which is ltrText direction
spacingstringNoComes from wrapping Html component's defaultSpacing context prop which is 20pxSpacing bottom, by default comes from Html defaultSpacing prop
contentReact.ReactNodeNo
footerReact.ReactNodeNo
headerBackgroundColorstringNo#fff
contentBackgroundColorstringNo#fff
footerBackgroundColorstringNo#fff
borderRadiusstringNo24px
paddingstringNo``inner padding
widthstringNo100%
headerCenterbooleanNoundefined
contentCenterbooleanNoundefined
footerCenterbooleanNoundefined

License

MIT © iClasser

Keywords

react

FAQs

Package last updated on 11 Dec 2025

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