Skip to content

Examples

Elaris.UI comes with several example applications that demonstrate various features and usage patterns. These examples are a great way to learn how to use the library.

Hello World

The simplest example showing basic widget creation and application setup.

Chat Demo

Demonstrates a chat-like interface with scrolling text view and input field.

Interactive

Showcases interactive widgets including buttons, checkboxes, list boxes, and progress bars.

Menu Demo

Demonstrates menu bar functionality with dropdown menus and keyboard shortcuts.

Table Demo

Shows how to use the Table widget with columns, rows, and data binding.

Tabs Demo

Demonstrates tabbed interfaces with TabContainer and multiple content areas.

Widgets Showcase

A comprehensive showcase of various widget types and their features.

All examples are located in the examples/ directory. To run an example:

Terminal window
cd examples/Elaris.Examples.HelloWorld
dotnet run
  1. Start with Hello World - Understand the basics
  2. Try Interactive - Learn about input widgets
  3. Explore Chat Demo - See scrolling and text input
  4. Check Menu Demo - Learn menu systems
  5. Study Table Demo - Understand data widgets
  6. Review Tabs Demo - See tabbed interfaces
  7. Browse Widgets Showcase - See all widgets in action