---
url: /api/kiln/interfaces/ButtonOptions.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / ButtonOptions

# Interface: ButtonOptions

## Extends

* [`UiOptions`](UiOptions.md)

## Properties

| Property | Type | Description | Inherited from |
| ------ | ------ | ------ | ------ |
|  `anchor?` | [`Anchor`](../type-aliases/Anchor.md) | Default 'top-left'. | [`UiOptions`](UiOptions.md).[`anchor`](UiOptions.md#property-anchor) |
|  `size?` | `number` | Font size in CSS pixels. Default 20 (buttons 22). | [`UiOptions`](UiOptions.md).[`size`](UiOptions.md#property-size) |
|  `color?` | `string` | CSS colour of the text (or a bar's fill). Default '#fff' (bars '#4ade80'). | [`UiOptions`](UiOptions.md).[`color`](UiOptions.md#property-color) |
|  `order?` | `number` | Stacking order inside the anchor, low first. Default: creation order. | [`UiOptions`](UiOptions.md).[`order`](UiOptions.md#property-order) |
|  `visible?` | `boolean` | false hides the element but keeps it. Default true. | [`UiOptions`](UiOptions.md).[`visible`](UiOptions.md#property-visible) |
|  `action?` | `string` | An input action that also clicks this button while it is visible ('jump', 'pause'...). | - |
