Feature Gate
Auto-emitted from DSKintsugiCatalog.gate. Tier molecule.
Live Preview
Unlocked
Premium analytics dashboard
42 active dossiers · 7.2M AUC · 1.3 σ vs benchmark
Locked — Atelier tier required
Premium analytics dashboard
42 active dossiers · 7.2M AUC · 1.3 σ vs benchmark
Native · macOS
DSL usage
// Cross-target (KatagamiCore ViewNode)
GateDSL.body(
content: dashboardNode,
state: subscription.canAccess(.atelier)
? .unlocked
: .locked(prompt: "Atelier tier required", ctaLabel: "Upgrade")
)
// SwiftUI shim (backwards-compatible)
DashboardView()
.gated(by: subscription, tier: .atelier, ctaLabel: "Upgrade")
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
content |
ViewNode | — |
Content to protect. Rendered dimmed when state == .locked. |
state |
GateState | — |
.unlocked or .locked(prompt:, ctaLabel:). Resolved by FeatureGateProtocol consumer. |
Used in
sigma-analytics (enterprise modules) c-tech widgets (W3 billing) wabisabi (origin — Core/Abstracts)