Framework independent
A TypeScript package with no React or Next.js runtime dependency. This portal is a separate consumer.
OPEN SOURCE · DEVELOPMENT PREVIEW
A lightweight, framework-independent toolbar for modern web apps. Start simple; adapt as you grow.
The package is in active development and is not yet published.
Easy to start.
Easy to use.
Powerful to master.
The dock at the bottom is the actual workspace library.A TOOLBAR THAT FITS YOUR PRODUCT
Choose a page context to update the real dock. This demo uses the SDK's current action configuration and host dispatch APIs—not a visual stand-in.
Explore the product story, setup, and Studio roadmap.
Selecting a preset calls toolbar.update() with this action set:
homeenvironmentsquick-startstudioThe host maps every action to an existing section; no app commands or permissions are simulated.
Context changes are deliberate. The dock won't change just because you scrolled into another section.
VISUAL CONFIGURATOR · LOCAL PREVIEW
Edit supported configuration fields, validate against the package schema, and apply a real toolbar preview. Drafts stay in memory and are never uploaded or saved.
The preview is confined to this sample frame. The generated configuration retains the selected placement mode.
import type { ToolbarConfigurationInput } from "@moorkyz/toolbar";
export const toolbarConfiguration: ToolbarConfigurationInput = {
"schemaVersion": "1.0",
"features": {
"search": true,
"ai": false,
"tasks": false,
"notifications": false,
"discovery": false,
"platform": true,
"customize": false,
"spatialCoordination": false,
"offline": false,
"diagnostics": false,
"advancedGestures": false,
"experimental": false
},
"actions": [
{
"id": "docs",
"label": "Documentation"
}
],
"placement": {
"mode": "container",
"anchor": "bottom"
},
"theme": "signature",
"colorScheme": "system",
"renderMode": "light",
"label": "Preview toolbar"
};COMPONENT LAB · REAL SDK STATES
Switch between repeatable component scenarios, test native overflow controls, open local search, or collapse the live toolbar. Every preview uses the workspace library.
A compact action row with manual collapse.
Choose a scenario, then interact with the real toolbar.
SCENARIO LAB · DETERMINISTIC SIMULATION
Simulate viewport, time, host authorization, and action failures against a real toolbar. Snapshots stay in memory and copied JSON never executes.
Adjust the simulation; no host application or network is connected.
THEME DESIGN STUDIO · BUILT-IN TOKENS
Browse the built-in themes, inspect their actual SDK tokens, validate contrast, and copy a versioned token file. This preview does not change the portal theme or edit runtime styles.
Built-in themes are previewed locally; no theme is applied to the portal.
Token validation passed. Text contrast: 16.27:1; focus contrast: 5.84:1.
#FFFFFF#172033#D6DAE2#E9EDF4#315BD6#315BD6{
"version": 1,
"theme": "signature",
"tokens": {
"background": "#FFFFFF",
"foreground": "#172033",
"border": "#D6DAE2",
"hover": "#E9EDF4",
"focus": "#315BD6",
"accent": "#315BD6"
}
}A SMALL, EXPLICIT START
The host handles navigation and decides what each action is allowed to do. The toolbar provides accessible controls and dispatches the action ID.
Read the current contract draftimport { createToolbar } from "@moorkyz/toolbar";
const toolbar = createToolbar(
{
actions: [{ id: "docs", label: "Documentation" }],
},
{
dispatchAction: (id) => {
document.getElementById(id)?.scrollIntoView();
},
},
);
const mounted = toolbar.mount(document.body);
if (!mounted.ok) {
throw new Error(mounted.error.message);
}
window.addEventListener("pagehide", () => toolbar.dispose(), { once: true });pnpm add @moorkyz/toolbarInstall command shown for the planned public release. Until then, use the repository's workspace consumer examples.
BUILT AROUND CONTROL
A TypeScript package with no React or Next.js runtime dependency. This portal is a separate consumer.
The SDK dispatches an action ID; your application retains navigation, data access, and permission authority.
Semantic toolbar controls, keyboard navigation, visible focus, manual collapse, and reduced-motion styling are in the current implementation.
Search and spatial coordination are not activated by this preview. There are no analytics or remote service calls.
YOUR CANVAS, YOUR PREFERENCE
Switch the portal between light and dark. The dock is the same library instance, mounted in its supported light-DOM mode so its presentation follows this site.
The SDK includes built-in token families and contrast validation. Custom theme authoring remains in the Studio roadmap.
DEVELOPMENT STUDIO
A schema-validated configurator, a component lab, and a deterministic scenario simulator are available below. The full Studio will add themes and starter generation; those tools remain on the roadmap.
View development roadmap Try the local configurator Explore the Component Lab Try the Scenario Lab Inspect built-in themesConfigurator drafts are local, and built-in theme tokens can be inspected and exported. Custom theme authoring remains planned.
FOLLOW THE WORK
The public contracts are still drafts. Browse the source of truth and follow implementation as the SDK takes shape.
OPEN SOURCE · APACHE-2.0
The code and development decisions are public. This repository is a work in progress; no package or website release is implied.
MOORKYZ TOOLBAR
Start with a toolbar. Build an experience.