Powerful UI Framework

Build Amazing UIs for ComputerCraft

PixelUI is a comprehensive UI framework for CC: Tweaked with 30+ widgets, advanced animations, theming system, and everything you need to create professional-looking interfaces.

30+
Widgets
10+
Layout Types
100%
Free & Open Source
PixelUI Demo
Core Capabilities

Powerful Features

Everything you need to build professional UIs for ComputerCraft with modern design patterns and advanced functionality

Most Popular

30+ Premium Widgets

The most comprehensive widget library for ComputerCraft. From simple buttons to complex charts, every component is crafted with attention to detail and modern UX principles.

Input Controls
Data Visualization
Navigation Components
Layout Containers
Widget Gallery
Button
Input
Chart
Slider
Modal
Tabs

Smart Layouts

Flexible layout system with automatic positioning, responsive design, and intelligent spacing calculations.

Auto-positioning Responsive

Scrollable Containers WIP

Advanced scrollable containers with smooth scrolling, custom scrollbars, and mouse wheel support.

Mouse Wheel Custom Scrollbars

Advanced Events

Complete event system with mouse, keyboard, touch, drag, and focus events with proper event propagation.

Event Bubbling Touch Support

Theming System

Comprehensive theming with color schemes, dark/light modes, and per-widget style customization.

Dark/Light Mode Custom Colors

Plugin Ecosystem

Extensible plugin architecture for custom widgets, themes, and functionality with hot-reloading support.

Hot Reloading Community Plugins
60fps
Smooth Animations
100%
Lua Native
0
Dependencies
Comprehensive Library

Widget Library

Explore our comprehensive collection of 30+ UI widgets designed for ComputerCraft. From simple buttons to complex charts, every widget is optimized for performance and beauty.

8
Input Widgets
12
Display Widgets
6
Layout Widgets
4
Feedback Widgets

Filter by Category

Need More Widgets?

Explore our plugin ecosystem for additional widgets created by the community, or learn how to create your own custom widgets.

Click Me
Enter text...

Getting Started

Start building amazing UIs in just a few steps

1

Download PixelUI

Download the pixelui.lua file and place it in your ComputerCraft computer.

wget https://github.com/Shlomo1412/PixelUI/raw/main/pixelui.lua
2

Initialize PixelUI

Require the framework and initialize it in your program.

local PixelUI = require("pixelui")
PixelUI.init()
3

Create Widgets

Start creating widgets and building your UI.

PixelUI.label({ 
    x = 2, y = 2, 
    text = "Hello, PixelUI!", 
    color = colors.cyan 
})

PixelUI.button({ 
    x = 2, y = 4, 
    text = "Click Me", 
    onClick = function() 
        print("Button clicked!") 
    end 
})
4

Run Your App

Start the event loop and enjoy your beautiful UI!

PixelUI.run()
Live Examples

Examples Gallery

See PixelUI in action with these real-world examples showcasing the power and flexibility of the framework

15+ Example Projects
8 Widget Categories
Animation System Example

Animation System

Smooth property animations with easing functions, chaining, and callbacks for dynamic UI effects.

Animation Easing Dynamic
Line Chart Example

Line Chart Visualization

Real-time data visualization with interactive line charts, customizable colors, and smooth animations.

Charts Data Viz Animation
Tab Control Example

Interactive Tab Control

Animated tab interface with smooth transitions, multiple content panels, and responsive design.

Navigation Animation Tabs
Loading Bar Example

Loading Indicators

Animated loading bars with progress indication, customizable styles, and smooth transitions.

Loading Progress Animation
Dragging Example

Drag & Drop Interface

Smooth drag-and-drop functionality with visual feedback, window positioning, and intuitive user interaction.

Drag & Drop Animation UX
Spinners Example

Animated Spinners

Multiple spinner styles with customizable animations, colors, and speeds for loading states.

Spinners Loading Animation
ComboBox Example

ComboBox Selection

Dropdown selection interface with scrollable options, search functionality, and clean styling.

Input Selection UI
Container Layout Example

Container Layouts

Organized layout containers with child widgets, borders, and flexible arrangement options.

Layout Container Organization
List View Example

List View Widget

Scrollable list interface with item selection, highlighting, and keyboard navigation support.

List Selection Navigation
Progress Bar Example

Progress Indicators

Visual progress bars with customizable colors, value display, and smooth progress animation.

Progress Feedback Animation
Toggle Switch Example

Toggle Switches

Modern toggle switches with smooth animations, labels, and state management for boolean settings.

Toggle Animation Settings
Checkbox Example

Checkbox Controls

Interactive checkboxes with labels, state management, and form integration capabilities.

Input Forms Boolean
Radio Button Example

Radio Button Groups

Radio button groups for single selection from multiple options with clear visual feedback.

Radio Selection Groups
Group Box Example

Group Box Layouts

Organized grouping containers with titles, borders, and logical widget arrangement.

Layout Grouping Organization
Message Box Example

Message Box Dialog

Modal message dialogs with custom buttons, icons, and user interaction handling.

Modal Dialog UX

API Reference

Complete reference for all PixelUI widgets and functions

Comprehensive Documentation

Explore detailed documentation for all 30+ widgets, functions, and features in our dedicated API reference page.

  • Complete widget reference
  • Searchable documentation
  • Code examples for every widget
  • Event handling guide
View Full API Documentation
API Reference

Extensible Plugin System

Extend PixelUI with custom widgets, themes, and functionality through our powerful plugin architecture

Build Beyond the Core

PixelUI's plugin system allows you to create custom widgets, add new themes, implement animations, and extend the framework with your own functionality. Plugins integrate seamlessly with the core framework and can be shared with the community.

35+ Built-in Widgets
Custom Plugins
4 Plugin Types
PixelUI Core
Widgets
Themes
Hooks
API

Plugin Types

Widget Plugins

Create custom UI widgets with full integration into the PixelUI system, including event handling, theming, and animation support.

Custom Rendering Event Integration Theme Support

Theme Plugins

Design custom color schemes and visual styles that can be applied to any PixelUI application with a single line of code.

Color Schemes Visual Styles Easy Application

Hook Plugins

Extend framework behavior by hooking into core events and lifecycle methods, perfect for adding logging, analytics, or custom behaviors.

Event Hooks Lifecycle Control Behavior Extension

API Extensions

Add new functionality to the PixelUI API, creating helper functions, utilities, and enhanced features that other plugins can use.

API Enhancement Utility Functions Shared Libraries

Plugin Development

1

Create Plugin Structure

Start with a simple plugin template that includes metadata, initialization, and your custom functionality.

2

Implement Features

Add your widgets, themes, or extensions using PixelUI's comprehensive plugin API and lifecycle hooks.

3

Load & Test

Load your plugin into PixelUI and test it with real applications. Debug and refine using built-in development tools.

my-plugin.lua
-- Plugin Example
local plugin = {
name = "CustomWidget",
version = "1.0.0",
type = "widget"
}
function plugin.init()
-- Plugin initialization
end

Plugin System Features

Auto-Loading

Plugins are automatically discovered and loaded from multiple sources including files, directories, and URLs.

Dependency Management

Plugins can specify dependencies and the system ensures proper loading order and compatibility.

Lifecycle Hooks

Full lifecycle management with initialization, activation, deactivation, and cleanup hooks.

Safe Sandboxing

Plugins run in controlled environments with access to approved APIs while maintaining system security.

Hot Reloading

Develop and test plugins with instant reloading during development for faster iteration cycles.

Rich Documentation

Comprehensive API reference, examples, and guides for plugin development and best practices.

Ready to Extend PixelUI?

Explore our comprehensive plugin documentation and start building your own extensions today.

DatePicker
ChartWidget
MapViewer
AudioPlayer

Ready to get started?

Download PixelUI and start building amazing UIs for ComputerCraft today!

Single file • No dependencies
Open source • MIT License
Community supported
Terminal
$ wget https://github.com/Shlomo1412/PixelUI/raw/main/pixelui.lua
✓ Downloaded pixelui.lua
$ lua myapp.lua
🚀 PixelUI app running!