Skip to content

Plugin System Overview

Extend the core engine with modular functionality.

Architecture

The plugin system is inspired by middleware patterns. Each plugin is a plain object that "hooks" into the component lifecycle. Plugins can:

  • Modify State: Dispatch internal actions.
  • Listen to Events: React to drags, adds, or removals.
  • Inject UI: Provide custom handlebar or pane wrappers.

Available Plugins

PluginPurpose
keyboardPluginAccessibility via Arrows/Numbers.
persistencePluginJSON serialization to storage.
customHandlePluginComplete UI replacement for resize bars.

Why use Plugins?

By moving non-core features (like keyboard logic) into plugins, the core library stays extremely small and specialized. You only pay the "bundle size tax" for the features you actually use.

Next Steps

Check the Plugin API Reference to learn how to write your own custom logic.

Released under the MIT License.