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

# Interface: UiNode

One HUD element as data. This is what snapshots and tests see.

## Properties

| Property | Type | Description |
| ------ | ------ | ------ |
|  `id` | `string` | - |
|  `kind` | `"text"` | `"bar"` | `"button"` | - |
|  `text` | `string` | Text, bar label or button label. |
|  `value` | `number` | Bar fill 0..1. |
|  `anchor` | [`Anchor`](../type-aliases/Anchor.md) | - |
|  `size` | `number` | - |
|  `color` | `string` | - |
|  `order` | `number` | - |
|  `visible` | `boolean` | - |
|  `width` | `number` | - |
|  `action` | `string` | - |
