@inflate-ai/imaxt-core
v1.0.0
Published
Framework-agnostic render engine, design tokens and interactivity for Imaxt's typographic article blocks.
Maintainers
Readme
@inflate-ai/imaxt-core
Framework-agnostic render functions, design tokens, and vanilla-JS
interactivity for every Imaxt block.
The single source of truth @inflate-ai/imaxt-editorjs
and @inflate-ai/imaxt-astro
build on — most consumers want one of those two, not this package directly.
Install
bun add @inflate-ai/imaxt-coreUsage
import { renderStatement } from '@inflate-ai/imaxt-core';
renderStatement({ html: 'Boring is <em>dependable</em>.', tone: 'mint' });
// -> '<div class="imx"><div class="imx-statement imx-slab" data-tone="mint" ...>...'/* once per page/app */
@import '@inflate-ai/imaxt-core/styles.css';Every block's render function is documented in the block reference.
License
MIT
