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

@drawo-app/drawo

v2.0.14

Published

A beautiful, customizable whiteboard component for React

Downloads

142

Readme

-- FULL DOCUMENTATION SOON --

🎨 Drawo

Open-source visual whiteboard component for React

✨ What is Drawo

Drawo is an interactive canvas for fast sketches, diagrams, and visual explanations — now as a React component library. Install it, render <Drawo />, and you're done.

Everything runs client-side with local browser storage.

🚀 Features

  • Infinite canvas with pan, zoom, and smooth navigation
  • Drawing tools: pen, quill (speed-sensitive brush), marker
  • Shapes: rectangle, circle, line/arrow
  • Rich text powered by Slate (bold, italic, strikethrough, size, color, alignment)
  • Image support via input and drag-and-drop
  • Grouping, multi-selection, smart guides, snap to grid
  • Undo/Redo with full history
  • Export: png, jpg, svg, pdf with quality controls
  • Project files: save/open .drawo files
  • 22 themes: Drawo, Catppuccin, Nord, Solarized, Gruvbox, Tokyo Night, Rose Pine, Everforest, Kanagawa, Dracula, One, Ayu
  • Internationalization: English & Spanish
  • Special modes: Zen Mode, Presentation Mode
  • Optional: Timer, MusicBar, Search & Library sidebar

📦 Installation

npm install drawo

Peer dependencies (already in most React projects):

npm install react@^19 react-dom@^19

🚀 Quick Start

import { Drawo } from "drawo";

function App() {
  return <Drawo />;
}

That's it. Full whiteboard, zero config.

🎨 Customization

Theme & Locale

<Drawo theme="catppuccin-mocha" locale="en_US" />

Compound Components

Replace any part of the UI:

import { Drawo, DrawoTopBar, DrawoCanvas, Timer } from "drawo";

function App() {
  return (
    <Drawo>
      <DrawoTopBar>
        <MyCustomHeader />
        <Timer />
      </DrawoTopBar>
      <DrawoCanvas />
    </Drawo>
  );
}

useDrawo Hook

Access Drawo state from your components:

import { useDrawo } from "drawo";

function ElementCounter() {
  const { scene, undo, redo, canUndo, canRedo } = useDrawo();
  return (
    <div>
      <p>{scene.elements.length} elements</p>
      <button onClick={undo} disabled={!canUndo}>Undo</button>
      <button onClick={redo} disabled={!canRedo}>Redo</button>
    </div>
  );
}

📖 Full Documentation

See the docs for:

  • Complete API reference
  • All props and configuration options
  • Theme system details
  • Internationalization
  • Migration guide from v1.x
  • Advanced examples

⌨️ Keyboard Shortcuts

| Shortcut | Action | |----------|--------| | V | Selection tool | | H | Hand (pan) tool | | 1 | Text tool | | 2 | Rectangle tool | | 3 | Circle tool | | 4 | Draw tool | | K | Laser tool | | Ctrl/Cmd + Z | Undo | | Ctrl/Cmd + Shift + Z / Ctrl/Cmd + Y | Redo | | Ctrl/Cmd + A | Select all | | Ctrl/Cmd + D | Duplicate | | Ctrl/Cmd + G | Group | | Ctrl/Cmd + Shift + G | Ungroup | | Ctrl/Cmd + +/-/0 | Zoom in/out/reset | | Alt + Z | Toggle Zen Mode | | Alt + R | Toggle Presentation Mode | | Delete/Backspace | Delete selection |

🛠️ Development

# Install dependencies
pnpm install

# Run dev server (demo app)
pnpm dev

# Build the library for npm
pnpm build:lib

# Build the demo app for production
pnpm build

📦 Package Info

| | | |---|---| | Name | drawo | | Version | 2.0.0 | | License | MIT | | Bundle | ~2.6MB (637KB gzipped) | | Peer Deps | React 19+, React DOM 19+ | | TypeScript | Full type definitions |

📄 Changelog

See CHANGELOG.md for the full release history.

🤝 Contributing

  1. Fork the repo
  2. Create a feature/fix branch
  3. Open a PR with a clear description

⭐ Support

If you like Drawo, star the repo and share it. Drawo v2 lets you drop a full-featured whiteboard into any React app as a native building block.