Frameworks
Notes can run Astro, React, Vue or Svelte components.
Using a component
This project already ships with React, Vue and Svelte installed, so you only need to:
- Add a component to
src/components/(.astro.tsx.vueor.svelte) - Import it in any
.mdxor.astronote and add a directive:
import Scratchpad from '@components/scratchpad'
<Scratchpad client:load />
Directives: client:load (now) · client:visible (on scroll) · client:idle
(when free) · none (static HTML, zero JS).
Scratchpad
A small React island — type and watch the count update:
0 words · 0 chars