Skip to content

Zonharo/vein

 
 

Repository files navigation

Vein: an easy-to-use GUI library for FiveM

Vein is an immediate mode GUI library for FiveM.
The main goal was to create a newbie-friendly and fun-to-use GUI library without Web technologies.
Vein uses GTA V graphics API for input handling and rendering.
It is written on TypeScript, but you can use it with your favourite programming language, thanks to FiveM exports mechanism.
Vein provides a decent built-in item library, which you can customize with a CSS subset or even extend with your own ones.

alt text

Quick Start

  • Download and put into resources/ directory
  • Add ensure vein to server.cfg

Immediate mode

local vein = exports.vein
vein:beginWindow()
if vein:button('Click Me') then
  print('Hello World!')
end
vein:endWindow()

Documentation

Visit Vein website for documentation.

Demo

Follow Vein demo as an example for your own GUI.
Run it as FiveM server resource to see how Vein looks like in game (use /veinDemo command).

About

FiveM IMGUI framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.6%
  • CSS 2.3%
  • Other 1.1%