# @emotion/is-prop-valid

> A function to check whether a prop is valid for HTML and SVG elements

Latest version **1.4.0** (published 2025-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @emotion/is-prop-valid
pnpm add @emotion/is-prop-valid
yarn add @emotion/is-prop-valid
bun add @emotion/is-prop-valid
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; popular repo.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2025-09-04 |
| First published | 2018-04-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 23.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18016 |
| Maintainers | tkh44, emotion-release-bot, andarist, emmatown |

## Links

- npm: https://www.npmjs.com/package/@emotion/is-prop-valid
- Repository: https://github.com/emotion-js/emotion.git#main
- Homepage: https://github.com/emotion-js/emotion/tree/main#readme
- Issues: https://github.com/emotion-js/emotion/issues
- npm.io page: https://npm.io/package/@emotion/is-prop-valid

## Dependencies (1)

- [@emotion/memoize](https://npm.io/package/@emotion/memoize.md) ^0.9.0

## Recent versions

- 1.4.0 (latest) — 2025-09-04
- 1.0.0-rc.0 (rc) — 2020-10-11
- 0.9.0-next.1 (next) — 2019-11-25
- 10.0.0-really-unsafe-please-do-not-use.2 (really-unsafe-please-do-not-use) — 2018-09-28
- 1.3.1 — 2024-09-21
- 1.3.0 — 2024-07-19
- 1.2.2 — 2024-02-27
- 1.2.1 — 2023-05-06
- 1.2.0 — 2022-07-31
- 1.1.3 — 2022-06-12
- 1.1.2 — 2022-02-19
- 1.1.1 — 2021-11-14
- 1.1.0 — 2021-02-06
- 1.0.0 — 2020-11-12
- 0.8.8 — 2020-03-09
- … 24 more at https://npm.io/package/@emotion/is-prop-valid/versions

## README

# @emotion/is-prop-valid

> Check whether a prop is valid for HTML and SVG elements

```bash
yarn add @emotion/is-prop-valid
```

```jsx
import isPropValid from '@emotion/is-prop-valid'

isPropValid('href') // true

isPropValid('someRandomProp') // false
```

---
_Source: https://npm.io/package/@emotion/is-prop-valid · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
