@butterflypress/vue
Vue 3 recursive BlockRenderer with toRaw() cycle protection, createCaseShim, mechanical primitives, BpDynamicForm, and 18 shadcn-vue blocks.
Vue 3 Example vue
<script setup lang="ts">
import { BlockRenderer } from "@butterflypress/vue"
import "@butterflypress/vue/styles.css"
import { streamComponents } from "@/components/blocks/registry"
defineProps<{ blocks: StreamBlock[] }>()
</script>
<template>
<BlockRenderer :blocks="blocks" :components="streamComponents" />
</template>