🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@emailux/css

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emailux/css

A React email css component to to style your email (EmailUX Mailer)

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
19
-26.92%
Maintainers
1
Weekly downloads
 
Created
Source

@emailux/css

Css component used inside tag.

email_ux_black (1)

GitHub

Installation

# pnpm
pnpm add @emailux/css

# npm
npm install @emailux/css

# yarn
yarn add @emailux/css

Quick start

import { Html, Head } from "@emailux/components";
import { Css } from "@emailux/css";
// Can also be imported from "@emailux/components"
// import { Css } from "@emailux/components";

export default function EmailTemplate() {
  return <Html>
  <Head>
    <Css 
      selector={['body', '.inkdes-table']} 
      style={{ fontSize: '12px', lineHeight: '24px', color: '#000' }}
      />
  <Head>
</Html>
}

Props

NameTypeRequiredDefaultDescription
childrenReact.ReactNodeYesContent of the email document
styleReact.CSSPropertiesYes-
selectorArray of strings of css selectorsNo

All other standard Head attributes for the <css> element are supported.

License

MIT © iClasser

Keywords

react

FAQs

Package last updated on 28 Apr 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