ButterflyPress
SDK Reference

@butterflypress/react

Standalone React 18/19 recursive BlockRenderer, StreamFieldRenderer, mechanical primitives, and BpDynamicForm.

React Example tsx
import { BlockRenderer } from "@butterflypress/react"
import "@butterflypress/react/styles.css"
import { streamComponents } from "@/components/blocks/registry"

export function PageView({ blocks }: { blocks: StreamBlock[] }) {
  return <BlockRenderer blocks={blocks} components={streamComponents} />
}