Core classes
Consent-aware variants
If your app has a consent flow, use the consent-aware variants. They behave the same as the core classes but apply only until the user grants consent. After the user grants consent viaFS('consent', true), the element is captured normally.
Rules
The class works the same in any framework — React, Vue, plain HTML, and so on. In React Native, use the<FSExclude> / <FSMask> components instead.
Tagging the wrong element silently masks too much (a false positive) or too little (a false negative). Confirm your tagging with a real session review, or let Subtext scan for PII automatically with
subtext privacy propose — see the privacy tools reference.See also
- Privacy overview — what to tag and what is safe to leave captured.
- Identification — for tagging the user, not the DOM.

