Skip to main content
This guide walks you through building a complete plugin from scratch.

Prerequisites

  • A modern browser
  • A text editor
  • Blank Board running locally (npx serve)

Step 1: Create the File

Step 2: Export meta and setup

The meta Object

Step 3: Build Your UI

Use the managed container for standard plugins:
Or create your own element for more control:

Step 4: Add Storage

Use plugin-scoped storage for clean key management:

Step 5: Add Event Communication

Step 6: Inject Scoped CSS

Step 7: Handle Cleanup

Step 8: Show Notifications

Step 9: Install and Test

Option A: Manual Install

  1. Right-click the board → Plugin Manager
  2. Click Install via URL
  3. Enter ID and URL: http://localhost:3000/plugins/my-plugin/plugin.js
  4. Click Install

Option B: Debug in Console

Debugging

Open browser DevTools:

Complete Example

Here’s a full plugin using all the patterns above:

Persisting Data

Deep dive into storage patterns

Plugin Communication

Events, hooks, and patterns