{
"$type": "site.standard.document",
"canonicalUrl": "https://tkdodo.eu/blog/building-type-safe-compound-components",
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreihsz7npxp7ch7qs5lgul4uxpmhlsqvadhrays7p563flqztvneik4"
},
"mimeType": "image/png",
"size": 281336
},
"description": "Compound Components are great, but should be type-safe. No, this isn't about the children prop ...",
"path": "/blog/building-type-safe-compound-components",
"publishedAt": "2026-01-02T00:00:00.000Z",
"site": "at://did:plc:3nqrhu5mthmias3zc4a2ovzj/site.standard.publication/3mmyb25hudm2r",
"tags": [
"Design System",
"API Design",
"TypeScript",
"ReactJs"
],
"title": "Building Type-Safe Compound Components"
}