Interactive Playground
The playground embeds live SDK demos running entirely in local_only mode. Each scenario shows editable code alongside a live preview — edit the code and see the output update in real time.
All examples use the bundled SDK with a demo exported_config.json containing plans, entitlements, placements, and targeting rules.
Scenarios
Section titled “Scenarios”How It Works
Section titled “How It Works”Each playground scenario runs the SDK in an isolated Sandpack environment:
exported_config.jsonprovides plans, entitlements, placements, surface templates, and targeting rulesRevTurbineProviderinitializes the SDK inlocal_onlymode — no network calls- Demo users (Alice, Bob, Carol, Dan, Eve, Frank) have different plans, usage, and entitlements
- Targeting rules evaluate against the user context to decide which placements to show
Try switching demo users in the code to see how the SDK renders different placements for different user segments.