Use Curvenote - logo

NPM Version MIT License GitHub Stars Twitter Follow



The @curvenote/article is bundled with web-components and a CSS framework that helps you write interactive scientific articles. This documentation makes use of these components and styles. All components and layouts can be used by having the following structure to your HTML:

<!doctype html> <html itemscope itemtype=""> <head> <link rel="stylesheet" href=""> <script async src=""></script> </head> <body> <article> <h1>Hello Curvenote</h1> </article> </body>

The javascript will load up the components, which allow you to add reactivity to your document. The CSS framework assumes there is an <article> on the page. To center the article, which will collapse the sidenotes (aside), you can add the "centered" class to the article.

<article class="centered"></article>


Article Components

Made with love by Curvenote
Last updated August 24th, 2021