Paragraph
Paragraph is a component that displays a series of lines or text.

Usage Example
n.paragraph({
lines = "[close]",
align = "right",
is_focusable = false,
})
n.paragraph({
autofocus = true,
lines = {
n.line(n.text("Hello", "Boolean"), " ", n.text("World", "Italic")),
n.line(n.text("nui.components", "String")),
},
align = "center",
})Properties
align
Type
'left' | 'center' | 'right'lines
Type
string | string[] | NuiLine | NuiLine[]truncate
Type
booleanlinebreak
Default value
trueType
booleanprepare_lines
Type
fun(lines: NuiLine[], component: Checkbox): nilmax_lines
Type
number