PolicyStack

Documentation

Reference for OpenPolicy and OpenCookies — the open-source primitives behind PolicyStack

PolicyStack is a set of open-source primitives for privacy and consent. The documentation here covers two products you can drop into any web app today:

  • OpenPolicy generates privacy and cookie policy documents from a TypeScript config and renders them as React or Vue components.
  • OpenCookies is a headless consent state machine with framework-native hooks. You write the banner; it handles the rules.

The two are designed to compose. A single config can drive your cookie banner, the cookie policy document it discloses, and the privacy policy that lists everything else.

Pick a starting point below.