# @wordpress/patterns

> Management of user pattern editing.

Latest version **3.2.0** (published 2026-11-18) · GPL-2.0-or-later license · 0 weekly downloads

## Install

```sh
npm install @wordpress/patterns
pnpm add @wordpress/patterns
yarn add @wordpress/patterns
bun add @wordpress/patterns
```

## Health

**Score 70/100 (B)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.2.0 |
| Published | 2026-11-18 |
| First published | 2023-08-17 |
| Weekly downloads | 0 |
| License | GPL-2.0-or-later |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.13.0 |
| Dependencies | 16 |
| Unpacked size | 470.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11791 |
| Author | The WordPress Contributors |
| Maintainers | garypendergast, adamsilverstein, gziolo, ntwb, riad, noisysocks, kadamwhite, gutenbergplugin, jorgefilipecosta, ellatrix, iandunn206, whyisjake, ockham, sirreal, nosolosw, wpisabel, ntsekouras, nerrad, desrosj, talldanwp, peterwilsoncc, ryanwelcher, mamaduka, aduth, johnbillion |
| Keywords | wordpress, gutenberg, patterns |

## Links

- npm: https://www.npmjs.com/package/@wordpress/patterns
- Repository: https://github.com/WordPress/gutenberg
- Homepage: https://github.com/WordPress/gutenberg/tree/HEAD/packages/patterns/README.md
- Issues: https://github.com/WordPress/gutenberg/issues
- npm.io page: https://npm.io/package/@wordpress/patterns

## Dependencies (16)

- [@wordpress/ui](https://npm.io/package/@wordpress/ui.md) ^0.27.0
- [@wordpress/url](https://npm.io/package/@wordpress/url.md) ^5.2.0
- [@wordpress/a11y](https://npm.io/package/@wordpress/a11y.md) ^5.2.0
- [@wordpress/data](https://npm.io/package/@wordpress/data.md) ^11.2.0
- [@wordpress/i18n](https://npm.io/package/@wordpress/i18n.md) ^7.2.0
- [@wordpress/icons](https://npm.io/package/@wordpress/icons.md) ^21.0.0
- [@wordpress/blocks](https://npm.io/package/@wordpress/blocks.md) ^17.2.0
- [@wordpress/compose](https://npm.io/package/@wordpress/compose.md) ^9.2.0
- [@wordpress/element](https://npm.io/package/@wordpress/element.md) ^10.2.0
- [@wordpress/notices](https://npm.io/package/@wordpress/notices.md) ^6.2.0
- [@wordpress/core-data](https://npm.io/package/@wordpress/core-data.md) ^9.2.0
- [@wordpress/components](https://npm.io/package/@wordpress/components.md) ^45.0.0
- [@wordpress/base-styles](https://npm.io/package/@wordpress/base-styles.md) ^15.1.0
- [@wordpress/block-editor](https://npm.io/package/@wordpress/block-editor.md) ^20.1.0
- [@wordpress/private-apis](https://npm.io/package/@wordpress/private-apis.md) ^3.2.0
- [@wordpress/html-entities](https://npm.io/package/@wordpress/html-entities.md) ^5.2.0

## Recent versions

- 3.2.0 (latest) — 2026-11-18
- 2.55.1-next.v.202609171837.0 (next) — 2026-09-17
- 2.40.2 (wp-7.0) — 2026-06-30
- 2.33.9 (wp-6.9) — 2026-01-29
- 2.19.6 (wp-6.8) — 2025-07-08
- 2.8.16 (wp-6.7) — 2025-02-04
- 2.0.7 (wp-6.6) — 2024-09-04
- 1.12.9 (wp-6.5) — 2024-05-02
- 1.3.14 (wp-6.4) — 2024-01-05
- 1.1.1 (wp-6.3) — 2023-08-20
- 3.1.0 — 2026-11-04
- 3.0.0 — 2026-10-20
- 2.57.0 — 2026-10-07
- 2.56.0 — 2026-09-23
- 2.55.0 — 2026-09-10
- … 190 more at https://npm.io/package/@wordpress/patterns/versions

## README

# Patterns

> **Note**
> This package is currently only used internally by the Gutenberg project to manage the creation and editing of user patterns using the `wp_block` CPT in the context of the block editor. The likes of the `PatternsMenuItems` component expect to be rendered within a `BlockEditorProvider` in order to work.

## Installation

Install the module

```bash
npm install @wordpress/patterns --save
```

_This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for such language features and APIs, you should include [the polyfill shipped in `@wordpress/babel-preset-default`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default#polyfill) in your code._

## Components

This package doesn't currently have any publicly exported components.

## Contributing to this package

This is an individual package that's part of the Gutenberg project. The project is organized as a monorepo. It's made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to [npm](https://www.npmjs.com/) and used by [WordPress](https://make.wordpress.org/core/) as well as other software projects.

To find out more about contributing to this package or Gutenberg as a whole, please read the project's main [contributor guide](https://github.com/WordPress/gutenberg/tree/HEAD/CONTRIBUTING.md).

<br /><br /><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>

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