The Ultralight Developer Hub

Welcome to the Ultralight developer hub. You'll find comprehensive guides and documentation to help you start working with Ultralight as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Using the C++ API


Need C API Instead?

We also offer an alternative C API for use within C and other languages!

See Using the C API

Set Up Include Directories

To use Ultralight in your C++ code, simply add the following directory to your project's include directories (replace <SDK_ROOT> with the actual path you've placed the SDK):


Include Headers In Your Code

Simply include <Ultralight/Ultralight.h> at the top of your code to import the API.

#include <Ultralight/Ultralight.h>

If you want to use the optional AppCore API (cross-platform windowing/drawing layer), you should also include <AppCore/AppCore.h> at the top of your code.

#include <AppCore/AppCore.h>

Ultralight also exposes the full JavaScriptCore API so that users can make native calls to/from the JavaScript VM. To include these headers simply add:

#include <JavaScriptCore/JavaScript.h>

Updated 7 months ago

Using the C++ API

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.