# @remy90/payload-conditions-plugin

> plugin for Payload CMS, which enables conditional logic for pages to display

Latest version **0.2.2** (published 2024-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @remy90/payload-conditions-plugin
pnpm add @remy90/payload-conditions-plugin
yarn add @remy90/payload-conditions-plugin
bun add @remy90/payload-conditions-plugin
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2024-04-09 |
| First published | 2024-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.19.0 |
| Dependencies | 2 |
| Unpacked size | 236.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Remy |
| Maintainers | remy90 |
| Keywords | payload, cms, react, plugin, payload-plugin, conditions, iff, ifttt, prerequisite |

## Links

- npm: https://www.npmjs.com/package/@remy90/payload-conditions-plugin
- Repository: https://github.com/remy90/payload-conditions
- Homepage: https://github.com/remy90/payload-conditions#readme
- Issues: https://github.com/w41x/payload-conditions/issues
- npm.io page: https://npm.io/package/@remy90/payload-conditions-plugin

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^17.0.0 || ^18.0.0
- [payload](https://npm.io/package/payload.md) 3.0.0-beta.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.2.2 (latest) — 2024-04-09

## README

# Payload conditions

This plugin provides criteria for conditional content, which can be specified by content writers. It uses existing payload select components and currently allows for boolean, multiple choice and input text string answer types.

> [!IMPORTANT]
> This package is for v3 (currently in alpha) and above.

## Installation
```shell
pnpm add payload-conditions-plugin
```

## How to use
- Add this package
- Declare questions and answers from the question &amp; answer pairs
- Specify the question-answer combinations that results in a page being shown

#### If you've found this plugin helpful, please leave a star ⭐️

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