Skip to content

insodimension/mochi-mark

v0.1.1

A mark component drawn in a declared slot of a plugin layout — the import-surface FLOOR: react only, zero @fraym/ui.

Mochi Mark (mochi-mark)

A demo mark component: a soft pink mochi that squints when its space is active. Import surface: react only.

Build

bun run build (vite lib mode) emits dist/index.mjs — the ESM bundle the host loads at runtime, externalising exactly react, react-dom, react/jsx-runtime, @fraym/ui. dist/ is committed: a pack must be installable with no build step.

The bundle's default export is the component (MochiMark) — that is the loader's whole contract; the named exports stay for in-tree and test importers.