:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import SwiftUI
import WidgetKit
struct HedgehogWidget: Widget {
let kind = "HedgehogWidget"
var body: some WidgetConfiguration {
StaticConfiguration(kind: kind, provider: HedgehogTimelineProvider()) { entry in
HedgehogView(entry: entry)
.containerBackground(for: .widget) {
GeometryReader { geometry in
Image("hoglet_garden")
.resizable()
.scaledToFill()
.frame(width: geometry.size.width, height: geometry.size.height)
.clipped()
}
}
}
.configurationDisplayName("Hedgehog")
.description("Your own little garden hedgehog. Tap to change its character.")
.supportedFamilies([.systemSmall, .systemMedium])
.contentMarginsDisabled()
}
}