Skip to Content

Lui.Text

Creates a Label.

Lui.Text("Inventory", "text-2xl font-bold text-white")

Text does not automatically vertically center. Use text-middle when text is inside a fixed-height element:

Lui.Text("1", "w-8 h-8 rounded-full bg-primary text-center text-middle text-white")
Last updated on