Skip to content
Postkit

Reference

Compatibility and environments. Check framework, runtime, rendering, module, and hydration support before integrating Postkit.

Postkit packages are ESM-only, publish TypeScript declarations, and emit ES2022 JavaScript. The host application's framework and build tool must support those package conventions.

Framework matrix

IntegrationSupported rangeRendering notes
ReactReact 19Chakra-backed components render on the server and client
Chakra UI>=3.29.0 <4The host may provide a SystemContext; Postkit layers its recipes over it
Shiki^4.3.1Optional lazy highlighting through @postkit/shiki
Next.js>=15 <17Uses the native MDX component map and next/link
React Router>=7 <8The article must render beneath a router provider
TanStack Router>=1.120 <2Portable URLs can be mapped into generated route types
Astro>=6.4 <8Uses matching React, MDX, and Markdown integrations

The package manifests are authoritative for exact peer dependency ranges.

Runtime matrix

CapabilityEnvironment
Document parsing/serializationAny ES2022 ESM runtime; React is not required
React renderingServer rendering or a browser-capable React application
Static Astro componentsBuild/server render with no component hydration
Interactive Astro componentsclient:visible islands
Native audio and videoBrowser-native controls; no Postkit client runtime
UnfurlingServer, build process, or trusted editor with Web Fetch APIs
Plain Markdown transformsNode/build tooling using Unified and Remark
Shiki syntax highlightingLazy client runtime beneath PostkitProvider
Email renderingBuild or server rendering with Chakra Email primitives

Carousel, CodeBlock, CodeGroup, LinkPreview, NewsletterSignup, Poll, ShareActions, SocialPost, and Tabs hydrate as visible Astro islands. Other current Astro bridges render statically; Audio, Video, and Disclosure retain native browser controls.

Repository tooling

The repository's CI and release workflow use Node.js 24 and npm. Consumers do not need Node.js 24 merely to render browser components, but their selected framework, build tool, and server runtime must satisfy their own requirements and support Postkit's ES2022 ESM output.

Stability

Postkit is pre-1.0. Public APIs are typed and clean-consumer tested, but minor releases may refine the component contract. Pin related @postkit/* packages to the same release version and review the changelog before upgrading.

Edit this page on GitHub

Postkit

Richer posts, written once, right everywhere.

© 2026 Postkit. MIT licensed.
LicensingPrivacy