Luna UI comes with several samples to help you get started quickly.

To learn how to install and set up the samples, visit the Quick Start guide.

Asset Sources

Information about the assets used in Luna UI and its samples, including credits and licenses. Provides transparency about third-party assets and their usage rights.

Foundation Samples

Library

The foundation sample that includes all necessary dependencies required by other samples. Must be imported first before using any other samples. This sample provides the Systems Library which contains essential systems and utilities that other samples depend on, such as inventory, save/load, and other core game systems.

Game Samples

Game Full

A complete game demo featuring settings, save/load functionality, and a showcase of Luna UI's capabilities. Uses standard single scene workflow. This sample combines Game Standard with Localization and Newtonsoft samples, adding localization and a working save/load system. Requires Newtonsoft and Unity's Localization packages.

Game Standard

A complete game demo featuring settings, save/load functionality, and a showcase of Luna UI's capabilities. Uses standard single scene workflow. This sample does not include localization or a working save/load system—it mocks the save/load functionality. Does not require additional packages like Newtonsoft and Unity's Localization packages.

Game Addressables

A complete game demo featuring settings, save/load functionality, and a showcase of Luna UI's capabilities. Uses multi-scene workflow thanks to Unity's Addressables system for managing assets across multiple scenes.

Mobile

A mobile-optimized sample configured for mobile devices with responsive design. Includes features like SafeArea support for UI Toolkit, optimized layouts for various screen sizes, and mobile-specific UI patterns. Features a Mobile Equipment scene with both listview and pagination versions, including drag & drop functionality and InventoryWithSlots for moving items between slots.

Feature Samples

Components

Demo scenes that showcase each component individually. Perfect for learning how each Luna UI component works in isolation. Refer to the Components section in the sidebar for detailed component documentation.

Integration Samples

Localization

Demonstrates how Unity's Localization package is integrated with UI Toolkit. Luna UI provides demos, guidelines, and utility functions for using Unity's Localization package, including runtime style switching for different locales and auto-sizing text examples for varying text lengths.

Ink

A sample demonstrating how to integrate the Ink narrative scripting language with the VisualNovel component. Includes full support for choices and branching dialogue, making it perfect for visual novels, interactive fiction, and narrative-heavy games.

Newtonsoft JSON

Demonstrates a complete file-based save system using Newtonsoft JSON within Luna. Shows how to implement a concrete save manager that works seamlessly with Luna's UI components. Features include pluggable serializers, secure type allow-lists, fast metadata loading, and complete UI integration.

Settings

Theme

Light

Contrast

Material

Dark

Dim

Material Dark

System

Sidebar(Light & Contrast only)

Light
Dark

Font Family

DM Sans

Wix

Inclusive Sans

AR One Sans

Direction

LTR
RTL