Navigated to /docs/ui/api/plugin

Tavo.js UI plugin API

The Tavo.js plugin descriptor and options for theme generation, injection, output, watching, and diagnostics.

Tavo.js UI plugin exports

2 public exports from @tavojs/ui/plugin.

@tavojs/ui/plugin

Canonical import boundary for every symbol in this section.

tavoUi#

tavoUi(options?: TavoUiPluginOptions | undefined): TavoPlugin

Creates the Tavo.js plugin descriptor for project theme generation. Build and server implementations stay lazy so Node-only theme generation code is not loaded while the framework compiles the plugin graph.

Related guide

TavoUiPluginOptions#

type TavoUiPluginOptions = {
    config?: string;
    out?: string | false;
    watch?: boolean;
    silent?: boolean;
    required?: boolean;
    inject?: boolean;
};

Public type exported from @tavojs/ui/plugin.

Related guide