# @native-html/css-processor

> An inline CSS processor to translate CSS properties to React Native styles.

Latest version **2.0.1** (published 2026-05-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @native-html/css-processor
pnpm add @native-html/css-processor
yarn add @native-html/css-processor
bun add @native-html/css-processor
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2026-05-07 |
| First published | 2020-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 314.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 142 |
| Author | Jules Sam. Randolph |
| Maintainers | jsamr, 5zysz3k |
| Keywords | react-native, @native-html/render, CSS |

## Links

- npm: https://www.npmjs.com/package/@native-html/css-processor
- Repository: https://github.com/native-html/render
- Homepage: https://github.com/native-html/render/tree/main/packages/css-processor#readme
- Issues: https://github.com/native-html/render/issues
- npm.io page: https://npm.io/package/@native-html/css-processor

## Dependencies (2)

- [csstype](https://npm.io/package/csstype.md) ^3.1.3
- [css-to-react-native](https://npm.io/package/css-to-react-native.md) ^3.2.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2026-05-07
- 2.0.1-alpha.0 (next) — 2026-05-04
- 2.0.0 — 2026-03-03
- 2.0.0-alpha.0 — 2026-01-08
- 1.11.0 — 2021-09-05
- 1.10.2 — 2021-07-19
- 1.10.1 — 2021-07-07
- 1.10.0 — 2021-07-01
- 1.9.0 — 2021-05-18
- 1.8.1 — 2021-05-12
- 1.8.0 — 2021-05-07
- 1.7.0 — 2021-05-05
- 1.6.1 — 2020-11-30
- 1.6.0 — 2020-11-25
- 1.5.2 — 2020-11-23
- … 8 more at https://npm.io/package/@native-html/css-processor/versions

## README

# @native-html/css-processor

[![npm](https://img.shields.io/npm/v/@native-html/css-processor)](https://www.npmjs.com/package/@native-html/css-processor)
[![CI](https://github.com/native-html/render/workflows/css-processor/badge.svg?branch=main)](https://github.com/native-html/render/actions?query=branch%3Amain+workflow%3Acss-processor)
[![codecov](https://codecov.io/gh/native-html/render/branch/main/graph/badge.svg?flag=css-processor)](https://codecov.io/gh/native-html/render?flag=css-processor)

## Known Incompatibilities (Inline CSS Style → RN Styles)

| Property         | Comments                                                                                                                                |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `border-*radius` | Percent and forward-slash radius is not supported in React Native. Inline rules with percent or forward-slash radius will be discarded. |

---
_Source: https://npm.io/package/@native-html/css-processor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
