Documentation

Kairo TextUI

Overview

Kairo TextUI is a FiveM text UI: it shows the interaction prompt, such as “[E] Open garage”, when a player gets close to something. It supports both tap and hold to interact, and every player can choose their own look from an in-game menu.

What you get

  • 15 styles and 4 screen positions.
  • Tap and hold on the same prompt: two actions with one key.
  • Player menu with the /textui command: style, position, color and size.
  • Drop-in replacement for esx_textui, okokTextUI, jg-textui and cd_drawtextui, with no script edits.
  • Exports for your own scripts: Show, Hide, Update, IsShown and OpenSettings.

Compatibility

Supported
FrameworkESX, QBCore and Qbox: the resource is standalone and also works with no framework
DependenciesNone
Drop-in replacementesx_textui (ESX.TextUI, ESX.HideUI), okokTextUI, jg-textui, cd_drawtextui

qb-core DrawText is not replaced: on QBCore and Qbox you use Kairo TextUI through its exports.

Performance

The key is handled through a key mapping, so nothing runs per frame while idle and the hold timer only ticks while the key is down. When the prompt is hidden, animations shut down completely.

New to Kairo TextUI? Start with Installation.