Skip to content

pantoken / formats/components/src / ComponentOptions

Interface: ComponentOptions

Beta

Options common to every builder.

Extended by

Properties

prefix?

optional prefix?: string | null

Beta

The class prefix. A truthy string namespaces every class ("instui".instui-button); any falsy value (null, undefined, "", or omitting the option) drops the prefix entirely (.button), so you can author class="heading -h1". The stylesheets shipped by this package are built with "instui".


theme?

optional theme?: ComponentTheme

Beta

Target theme for emitted CSS. Defaults to "rebrand" when omitted.