Widgets

Introduction To Widgets

Learn how widgets act as typed building blocks for Kemu recipes and how they connect to form visual workflows.

What are widgets?

Widgets are the building blocks of a Kemu recipe. Each widget is a typed processing block that performs a specific role in a visual workflow, such as receiving data, transforming values, making decisions, storing state, calling a service, or returning a result.

In Composer, widgets are placed on the recipe canvas and connected together through their ports. These connections define how events and data move through the recipe, turning individual blocks into an executable workflow.

Widgets commonly fall into a few roles:

  • Producer widgets start or emit events, such as an external input, a button click, or recipe load event.
  • Transformer and logic widgets modify data, evaluate expressions, branch flow, or control execution order.
  • Storage and control widgets read, update, or propagate shared runtime state.
  • Consumer widgets display, terminate, or return workflow outcomes.

A recipe usually combines several widget types: an entry point brings data into the workflow, processing widgets transform or route that data, optional state or secret widgets provide shared context, and an output or side-effect widget completes the flow.

Each widget in this documentation has its own dedicated page with details about its purpose, settings, ports, and common usage patterns.

Get Started With Widgets