> ## Documentation Index
> Fetch the complete documentation index at: https://docs.directgvr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Client skin system

> Overview of the DirectGVR client skin system and its components.

The DirectGVR application skin system is a framework for developing the user interface and specifying the user experience of a custom deployment application. It allows for modifications to be made to the application’s user experience without requiring recompilation of the DirectGVR client application.

Skin assets are a collection of web application resources that include files written with HTML, CSS, JavaScript and files containing binary data such as images. These skin assets are bundled with the DirectGVR client application when the final application is ready to be deployed.

The skin system has been developed using modern web frameworks such as JQuery, AngularJS and React, making it easy for your web team to be contributors in the development and maintenance of your application’s UI/UX.

## Rendering

DirectGVR supports two UI rendering options (controlled through the `cef.enabled` app configuration option):

1. **Native OS rendering** - Native utilizes the onboard rendering capabilities of the macOS, Windows, and Ubuntu operating systems. This option keeps the client executable size very small (typically between 1-3MB depending on the size of your skin assets). However, supporting older OS versions can introduce compatibility issues as some modern web technologies may not be supported on OS versions installed with outdated web rendering engines. We recommend keeping native UI/UX designs simple in order to minimize these potential compatibility issues. Our native skin templates are tested to work on supported versions.
2. **Chromium Embedded Framework 3 (CEF3)** – DirectGVR provides support for CEF3 to provide a modern UI rendering solution that is consistent across all OS versions. Modern web experiences made using HTML5 and CSS3 are possible to designers without the compatibility concerns of OS versions that exists with Native rendering. However, the CEF3 payload is larger, adding approximately 125-200 MB to the total size.

**CEF3 vs Native:** Choosing the right option

| | **CEF** | **Native** |
| - | - | - |
| Payload size | Large usually between 125-200MB | Small usually less than 5MB |
| Single file executable | No1 | Yes |
| Portable application2 | Yes | Yes |
| Web compatibility | Yes, across operating systems | No, different OS versions have different web engines installed |
| OAuth support | Yes, using a Popup Window, IFrame, or External Browser | Yes, only using External Browser |

1. It is possible to create a single file executable Native installer that side-loads CEF, however it is an advanced use case.
2. All the application files can be moved to another location and will run normally even on another PC.

## Localization

The skin system supports the ability to [localize](https://docs.directgvr.com/reference/client-skin-system/localization.md) the user interface into different languages. By default, it automatically detects the language that the user has configured on their system and displays it in the user interface. Additionally, the user can override and select the language that best suits them. Localization strings are stored in JSON which is a common text-based format that can be easily sent to a third-party translation service.

## Advanced system integration

The application skin system can be used to notify the user through the operating system mechanisms.

* System tray icon
* [Customizable system tray context menu](https://docs.directgvr.com/reference/client-skin-system/host-javascript.md)
* [Animated tray icons](https://docs.directgvr.com/reference/client-skin-system/host-configuration.md)
* [System notifications](https://docs.directgvr.com/reference/client-skin-system/host-javascript.md)

## Security features

The skin system has the ability to restrict certain changes to the user’s system.

* [Restrict HTTP connections to specified host names](https://docs.directgvr.com/reference/client-skin-system/host-configuration.md)
* [Restrict registry reads and writes to specified locations](https://docs.directgvr.com/reference/client-skin-system/host-configuration.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.