PolicyStack
Documentation
Reference for Consent and Policy — 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:
- Consent is a headless consent state machine with framework-native hooks. You write the banner; it handles the rules.
- Policy generates privacy and cookie policy documents from a TypeScript config and renders them as React or Vue components.
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.