---
url: /api/formats/components/src/interfaces/ComponentOptions.md
---
[pantoken-root](../../../../index.md) / [formats/components/src](../index.md) / ComponentOptions

# Interface: ComponentOptions

Beta

Options common to every builder.

## Extended by

* [`IconGlyphsOptions`](IconGlyphsOptions.md)

## 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.
