Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / Component

Variable: Component โ€‹

Component: (value) => ComponentValue

Defined in: core/values/component.ts:21

A text component from a string or a styled part, e.g. Component(text("hi").bold()).

Parameters โ€‹

value โ€‹

string | TellrawPart | TellrawPart[] | TellrawText

Returns โ€‹

ComponentValue

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.