uiconfig.js

Examples

Each example is a live panel and the code that makes it. Most run in Tweakpane and in Blueprint: switch the renderer on the page.

Writing configs

The same panel from a plain object, a class, TypeScript decorators, or generated from the data.

Binding to data

How a component reads and writes its value: a property of an object, the config itself, functions, or a path.

Components

The type of a config picks the component. Both renderers have the common set; Tweakpane adds a few.

Dynamic panels

Panels that change with the data: computed properties, children that come and go, change events, undo.

Renderers

Options of one renderer: the themes of uiconfig-tweakpane and components of your own.

three.js and threepipe

Colors and vectors of three.js objects, edited in place, and the panels of threepipe.