Skip to content

Design System & Customization

Workflow Builder's design system - tokens, themes, and how to customize the UI.

Workflow Builder includes a fully developed design system based on Atomic Design methodology. It uses design tokens (CSS variables) so the entire visual appearance can be changed by adjusting a small set of values.

LevelExamples
AtomsButtons, inputs, icons, badges
MoleculesForm fields with labels, node cards
OrganismsProperties panel, node palette, toolbar
TemplatesFull editor layout

The UI is powered by CSS custom properties (tokens) for colors, typography, spacing, and elevation. Changing a token propagates through the entire interface.

Example token categories:

  • UI backgrounds: --wb-ds-ui-bg-base, --wb-ds-ui-bg-elevated, --wb-ds-ui-bg-inset
  • Text: --wb-ds-ui-text-default, --wb-ds-ui-text-subtle-default, --wb-ds-ui-text-muted-default
  • Node: --wb-ds-canvas-node-bg-primary-default, --wb-ds-canvas-node-stroke-default, --wb-ds-canvas-node-icon-primary
  • Buttons: --wb-ds-components-button-solid-primary-default, --wb-ds-components-button-solid-gray-default
  • Spacing: --wb-ds-space-50, --wb-ds-space-100, …, --wb-ds-space-400
  • Border radius: --wb-ds-radius-50, --wb-ds-radius-100, …, --wb-ds-radius-300
  • Shadows: --wb-ds-shadow-ui-xs-*, --wb-ds-shadow-ui-s-*, …, --wb-ds-shadow-ui-xl-*

The hand-authored --wb-public-* variables are a separate family for per-component customization. The generated CSS-variable tables on UI Library component pages are the --wb-public-* tables.

Theming is done by overriding CSS custom properties. Create a CSS file with your overrides and import it after the default theme:

:root {
--wb-ds-ui-bg-base: #1a1a2e;
--wb-ds-ui-text-default: #e0e0e0;
--wb-ds-components-button-solid-primary-default: #4a90d9;
}

Both light and dark mode tokens are defined separately, so you can customize each theme independently. Use a component’s --wb-public-* variables when a change should not affect the shared token system.

Workflow Builder supports both light and dark modes out of the box, controlled by the prefers-color-scheme media query or a toggle.

Workflow Builder ships with a complete default theme, but the underlying components come from @workflowbuilder/ui, our component library built on the headless Base UI primitives. The styled layer is fully tokenized and isolated in cascade layers, so you can retheme or replace it through the --wb-ds-* design tokens without fighting against built-in component styles. The visual layer is fully separate from the functional layer.

The design system is set up for white-labeling. Replace logo, colors, typography, and any visual asset to match your product’s brand.

For a visual overview of the design system, watch the walkthrough below.