Widget

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
Atelier tier required
Unlock advanced dossier analytics & benchmark deltas.
Native · macOS
macOS SwiftUI render of Feature Gate
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
NameTypeDefaultDescription
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)