@voithos-labs/aragonite-vue

vue component for aragonite, the cute markdown editor lib
195 39
Install
npm install @voithos-labs/aragonite-vue
Latest Version:0.11.1
Vue:3
License:MPL-2.0
Last Updated:Oct 23, 2026
Links: GitHub  ·  npm
Maintainer: lovecraftian_life

@voithos-labs/aragonite-vue

Aragonite as a vue component; works with vue 3.3+, nuxt included. What is aragonite? Read the short (your mileage may vary) readme, or try it out at aragonite.dev.

Install

Install the core package and this component:

npm install @voithos-labs/aragonite @voithos-labs/aragonite-vue

Use it

<script setup lang="ts">
import { ref } from 'vue';
import { Aragonite, type AragoniteInstance } from '@voithos-labs/aragonite-vue';
import '@voithos-labs/aragonite/style.css';
import '@voithos-labs/aragonite/styles/editor-theme.css';

const text = ref('> That is not dead which can eternal lie,\n> And with strange aeons even death may die.\n');
const editor = ref<AragoniteInstance | null>(null);
</script>

<template>
	<Aragonite ref="editor" v-model="text" theme="light" style="height: 70vh">
		<template #header><input placeholder="Title" /></template>
	</Aragonite>
</template>

Relevant (or irrelevant, fuck if i know) details:

  • Rather not bind? Pass default-value instead of v-model and the editor keeps the document itself.
  • Every other prop is an editor option (theme, plugins, ...), and the ref's handle gets you getSource(), runCommand() and friends once it mounts.
  • Nuxt: no <ClientOnly> needed, it renders on the server just fine. Put the two stylesheets in nuxt.config's css array instead of importing them.

More

The consumer guide has the rest: props, handle's methods, events, theming, etc. etc.

License

Aragonite is free software, released under MPL-2.0: use it, study it, fork it, embed it in whatever you're building, closed source included. The one string attached: if you change aragonite's own files, you share those changes under the same license.

Related Packages

@abhinavakhil/penna-vue

Vue 3 bindings for @abhinavakhil/penna-core

307 0
@dev_owl/cliveedit

CliveEdit — A themeable WYSIWYG markdown editor component for Vue 3

4,092 2
@hmfw/tiptap-editor

基于 Tiptap + Vue 3 的富文本编辑器组件。

523 0
@geelato/lite-editor

A lightweight, extensible rich text editor based on TipTap and Vue 3

3,428 0
@hebamuh28/mini-editor

A lightweight rich text editor component for Vue 3

1,383

Version History

Version Released Vue License
0.11.1 ^3.3.0 MPL-2.0
0.11.0 ^3.3.0 MPL-2.0
Pre-releases (1)
Version Released License
0.0.0-stage