npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@voithos-labs/aragonite-react

v0.11.5

Published

react component for aragonite, the cute markdown editor lib

Readme

@voithos-labs/aragonite-react

Aragonite as a react component; works with react 18 and 19, next 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-react

Use it

import { useRef, useState } from 'react';
import { Aragonite, type EditorHandle } from '@voithos-labs/aragonite-react';
import '@voithos-labs/aragonite/style.css';
import '@voithos-labs/aragonite/styles/editor-theme.css';

function Note() {
	const [text, setText] = useState('> That is not dead which can eternal lie,\n> And with strange aeons even death may die.\n');
	const editor = useRef<EditorHandle>(null);

	return (
		<Aragonite ref={editor} value={text} onChange={setText} theme="light" style={{ height: '70vh' }} />
	);
}

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

  • Rather not hold state? Pass defaultValue instead of value/onChange and the editor keeps the document itself.
  • Every other prop is an editor option (theme, plugins, header for a node above the first block, ...), and the ref gets you the handle (getSource(), runCommand(), ...) once it mounts.
  • Next: import the two stylesheets in your root layout. The component is already 'use client', so a server component can render it.
  • Writing a plugin? Its blocks can be react components too: reactBlockView turns one into a block view, and reactView does the same for an inline widget, a decoration or a menu row (react and vue blocks).

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.